| Package | Description | 
|---|---|
| org.jruby | |
| org.jruby.exceptions | |
| org.jruby.runtime | |
| org.jruby.runtime.backtrace | 
| Modifier and Type | Class and Description | 
|---|---|
| class  | NativeException | 
| 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,
            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 | Method and Description | 
|---|---|
| static IRubyObject | Helpers. isExceptionHandled(RubyException currentException,
                  IRubyObject[] exceptions,
                  ThreadContext context) | 
| static IRubyObject | Helpers. isExceptionHandled(RubyException currentException,
                  IRubyObject exception0,
                  IRubyObject exception1,
                  IRubyObject exception2,
                  ThreadContext context) | 
| static IRubyObject | Helpers. isExceptionHandled(RubyException currentException,
                  IRubyObject exception0,
                  IRubyObject exception1,
                  ThreadContext context) | 
| static IRubyObject | Helpers. 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) | 
| String | TraceType. printBacktrace(RubyException exception,
              boolean console) | 
| abstract String | TraceType.Format. printBacktrace(RubyException exception,
              boolean console) | 
| protected static String | TraceType. printBacktraceJRuby(RubyException exception,
                   boolean console) | 
| protected static String | TraceType. printBacktraceMRI(RubyException exception,
                 boolean console) | 
Copyright © 2001-2015 JRuby. All Rights Reserved.