org.jruby.runtime.backtrace
Class TraceType
java.lang.Object
org.jruby.runtime.backtrace.TraceType
public class TraceType
- extends java.lang.Object
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TraceType
public TraceType(TraceType.Gather gather,
TraceType.Format format)
getBacktrace
public BacktraceData getBacktrace(ThreadContext context,
boolean nativeException)
printBacktrace
public java.lang.String printBacktrace(RubyException exception)
traceTypeFor
public static TraceType traceTypeFor(java.lang.String style)
printBacktraceMRI
protected static java.lang.String printBacktraceMRI(RubyException exception)
printBacktraceRubinius
protected static java.lang.String printBacktraceRubinius(RubyException exception)
printBacktraceJRuby
protected static java.lang.String printBacktraceJRuby(RubyException exception)
printBacktraceJRuby2
protected static java.lang.String printBacktraceJRuby2(RubyException exception)
generateMRIBacktrace
public static IRubyObject generateMRIBacktrace(Ruby runtime,
RubyStackTraceElement[] trace)
getBacktrace
protected static BacktraceData getBacktrace(ThreadContext context,
TraceType.Gather gather,
boolean nativeException,
boolean full,
boolean maskNative)
Copyright © 2002-2009 JRuby Team. All Rights Reserved.