public class TraceType
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
TraceType.Format |
static class |
TraceType.Gather |
Constructor and Description |
---|
TraceType(TraceType.Gather gather,
TraceType.Format format) |
Modifier and Type | Method and Description |
---|---|
static void |
dumpBacktrace(RubyException exception) |
static void |
dumpCaller(RubyArray trace) |
static void |
dumpException(RubyException exception) |
static IRubyObject |
generateMRIBacktrace(Ruby runtime,
RubyStackTraceElement[] trace) |
BacktraceData |
getBacktrace(ThreadContext context,
boolean nativeException) |
protected static BacktraceData |
getBacktrace(ThreadContext context,
TraceType.Gather gather,
boolean nativeException,
boolean full,
boolean maskNative) |
java.lang.String |
printBacktrace(RubyException exception) |
protected static java.lang.String |
printBacktraceJRuby(RubyException exception) |
protected static java.lang.String |
printBacktraceJRuby2(RubyException exception) |
protected static java.lang.String |
printBacktraceMRI(RubyException exception) |
protected static java.lang.String |
printBacktraceRubinius(RubyException exception) |
static TraceType |
traceTypeFor(java.lang.String style) |
public TraceType(TraceType.Gather gather, TraceType.Format format)
public BacktraceData getBacktrace(ThreadContext context, boolean nativeException)
public java.lang.String printBacktrace(RubyException exception)
public static void dumpException(RubyException exception)
public static void dumpBacktrace(RubyException exception)
public static void dumpCaller(RubyArray trace)
public static TraceType traceTypeFor(java.lang.String style)
protected static java.lang.String printBacktraceMRI(RubyException exception)
protected static java.lang.String printBacktraceRubinius(RubyException exception)
protected static java.lang.String printBacktraceJRuby(RubyException exception)
protected static java.lang.String printBacktraceJRuby2(RubyException exception)
public static IRubyObject generateMRIBacktrace(Ruby runtime, RubyStackTraceElement[] trace)
protected static BacktraceData getBacktrace(ThreadContext context, TraceType.Gather gather, boolean nativeException, boolean full, boolean maskNative)
Copyright © 2002-2009 JRuby Team. All Rights Reserved.