Package org.jruby
Class RubyException.Backtrace
java.lang.Object
org.jruby.RubyException.Backtrace
- Enclosing class:
- RubyException
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcopy(RubyException.Backtrace clone) generateBacktrace(Ruby runtime) Generate a new backtrace (or returns nil if no backtrace data exists).generateBacktraceLocations(ThreadContext context) Generate an array of backtrace location objects for this backtrace.
-
Field Details
-
backtraceData
-
backtraceObject
-
backtraceLocations
-
-
Constructor Details
-
Backtrace
private Backtrace()
-
-
Method Details
-
copy
-
generateBacktrace
Generate a new backtrace (or returns nil if no backtrace data exists).- Parameters:
runtime-- Returns:
- the generated Ruby backtrace
-
generateBacktraceLocations
Generate an array of backtrace location objects for this backtrace.- Parameters:
context- the current thread context- Returns:
- the array of backtrace locations
-