public static enum TraceType.Gather extends java.lang.Enum<TraceType.Gather>
| Enum Constant and Description |
|---|
CALLER
Normal Ruby-style backtrace, showing only Ruby and core class methods.
|
FULL
A backtrace with interpreted frames intact, but don't remove Java frames.
|
NORMAL
Normal Ruby-style backtrace, showing only Ruby and core class methods.
|
RAW
Full raw backtraces with all Java frames included.
|
| Modifier and Type | Method and Description |
|---|---|
abstract BacktraceData |
getBacktraceData(ThreadContext context,
boolean nativeException) |
static TraceType.Gather |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TraceType.Gather[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TraceType.Gather RAW
public static final TraceType.Gather FULL
public static final TraceType.Gather NORMAL
public static final TraceType.Gather CALLER
public static TraceType.Gather[] values()
for (TraceType.Gather c : TraceType.Gather.values()) System.out.println(c);
public static TraceType.Gather valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant
with the specified namejava.lang.NullPointerException - if the argument is nullpublic abstract BacktraceData getBacktraceData(ThreadContext context, boolean nativeException)
Copyright © 2002-2009 JRuby Team. All Rights Reserved.