Package | Description |
---|---|
org.jruby | |
org.jruby.exceptions | |
org.jruby.interpreter | |
org.jruby.javasupport.util | |
org.jruby.runtime.backtrace |
Modifier and Type | Class and Description |
---|---|
class |
NativeException |
static class |
RubyIconv.RubyFailure |
class |
RubyLocalJumpError |
class |
RubyNameError |
class |
RubyNoMethodError |
class |
RubySystemCallError |
class |
RubySystemExit |
Modifier and Type | Method and Description |
---|---|
RubyException |
RubyException.exception(IRubyObject[] args) |
static RubyException |
RubyException.newException(Ruby runtime,
RubyClass excptnClass,
java.lang.String msg) |
static RubyException |
RubyNameError.newRubyNameError(IRubyObject recv,
IRubyObject[] args) |
Modifier and Type | Method and Description |
---|---|
void |
Ruby.printError(RubyException excp)
Prints an error with backtrace to the error stream.
|
Modifier and Type | Method and Description |
---|---|
RubyException |
RaiseException.getException()
Gets the exception
|
Modifier and Type | Method and Description |
---|---|
protected void |
RaiseException.setException(RubyException newException,
boolean nativeException)
Sets the exception
|
Constructor and Description |
---|
RaiseException(RubyException actException)
Construct a new RaiseException to wrap the given Ruby exception for Java-land
throwing purposes.
|
RaiseException(RubyException exception,
boolean isNativeException) |
RaiseException(RubyException exception,
IRubyObject backtrace)
Construct a new RaiseException to wrap the given Ruby exception for Java-land
throwing purposes.
|
Modifier and Type | Field and Description |
---|---|
protected RubyException |
NaiveInterpreterContext.currException |
Modifier and Type | Method and Description |
---|---|
RubyException |
InterpreterContext.getException() |
RubyException |
NaiveInterpreterContext.getException() |
Modifier and Type | Method and Description |
---|---|
void |
InterpreterContext.setException(RubyException e) |
void |
NaiveInterpreterContext.setException(RubyException e) |
Modifier and Type | Method and Description |
---|---|
static IRubyObject |
RuntimeHelpers.isExceptionHandled(RubyException currentException,
IRubyObject[] exceptions,
ThreadContext context) |
static IRubyObject |
RuntimeHelpers.isExceptionHandled(RubyException currentException,
IRubyObject exception0,
IRubyObject exception1,
IRubyObject exception2,
ThreadContext context) |
static IRubyObject |
RuntimeHelpers.isExceptionHandled(RubyException currentException,
IRubyObject exception0,
IRubyObject exception1,
ThreadContext context) |
static IRubyObject |
RuntimeHelpers.isExceptionHandled(RubyException currentException,
IRubyObject exception,
ThreadContext context) |
Modifier and Type | Method and Description |
---|---|
static void |
TraceType.dumpBacktrace(RubyException exception) |
static void |
TraceType.dumpException(RubyException exception) |
java.lang.String |
TraceType.printBacktrace(RubyException exception) |
abstract java.lang.String |
TraceType.Format.printBacktrace(RubyException exception) |
protected static java.lang.String |
TraceType.printBacktraceJRuby(RubyException exception) |
protected static java.lang.String |
TraceType.printBacktraceJRuby2(RubyException exception) |
protected static java.lang.String |
TraceType.printBacktraceMRI(RubyException exception) |
protected static java.lang.String |
TraceType.printBacktraceRubinius(RubyException exception) |
Copyright © 2002-2009 JRuby Team. All Rights Reserved.