Package | Description |
---|---|
org.jruby | |
org.jruby.exceptions | |
org.jruby.runtime | |
org.jruby.runtime.backtrace |
Modifier and Type | Class and Description |
---|---|
class |
NativeException
Deprecated.
|
class |
RubyArgumentError
The Java representation of a Ruby ArgumentError.
|
class |
RubyConcurrencyError
The Java representation of a Ruby ConcurrencyError.
|
class |
RubyDomainError
/**
The Java representation of a Ruby DomainError.
|
class |
RubyEncodingError
The Java representation of a Ruby EncodingError.
|
static class |
RubyEncodingError.RubyCompatibilityError |
static class |
RubyEncodingError.RubyConverterNotFoundError |
static class |
RubyEncodingError.RubyInvalidByteSequenceError |
static class |
RubyEncodingError.RubyUndefinedConversionError |
class |
RubyEOFError
The Java representation of a Ruby EOFError.
|
class |
RubyFatal
The Java representation of a Ruby Fatal.
|
class |
RubyFiberError
The Java representation of a Ruby FiberError.
|
class |
RubyFloatDomainError
The Java representation of a Ruby FloatDomainError.
|
class |
RubyFrozenError
The Java representation of a Ruby FrozenError.
|
class |
RubyIndexError
The Java representation of a Ruby IndexError.
|
class |
RubyInterrupt
The Java representation of a Ruby Interrupt.
|
class |
RubyInterruptedRegexpError
The Java representation of a Ruby InterruptedRegexpError.
|
class |
RubyIOError
The Java representation of a Ruby IOError.
|
class |
RubyKeyError |
class |
RubyLoadError
The Java representation of a Ruby LoadError.
|
class |
RubyLocalJumpError
The Java representation of a Ruby LocalJumpError.
|
class |
RubyNameError
The Java representation of a Ruby NameError.
|
class |
RubyNoMemoryError
The Java representation of a Ruby NoMemoryError.
|
class |
RubyNoMethodError
The Java representation of a Ruby NoMethodError.
|
class |
RubyNotImplementedError
The Java representation of a Ruby NotImplementedError.
|
class |
RubyRangeError
The Java representation of a Ruby RangeError.
|
class |
RubyRegexpError
The Java representation of a Ruby RegexpError.
|
class |
RubyRuntimeError
The Java representation of a Ruby RuntimeError.
|
class |
RubyScriptError
The Java representation of a Ruby ScriptError.
|
class |
RubySecurityError
The Java representation of a Ruby SecurityError.
|
class |
RubySignalException
The Java representation of a Ruby SignalException.
|
class |
RubyStandardError
The Java representation of a Ruby StandardError.
|
class |
RubyStopIteration
/**
The Java representation of a Ruby StopIteration.
|
class |
RubySyntaxError
The Java representation of a Ruby SyntaxError.
|
class |
RubySystemCallError
The Java representation of a Ruby SystemCallError.
|
class |
RubySystemExit
The Java representation of a Ruby SystemExit.
|
class |
RubySystemStackError
The Java representation of a Ruby SystemStackError.
|
class |
RubyThreadError
The Java representation of a Ruby ThreadError.
|
class |
RubyTypeError
The Java representation of a Ruby TypeError.
|
class |
RubyUncaughtThrowError
The Java representation of a Ruby UncaughtThrowError.
|
class |
RubyZeroDivisionError
The Java representation of a Ruby ZeroDivisionError.
|
Modifier and Type | Method and Description |
---|---|
RubyException |
RubyException.exception(IRubyObject[] args) |
static RubyException |
RubyNameError.exception(ThreadContext context,
IRubyObject recv,
IRubyObject message) |
static RubyException |
RubyNameError.exception(ThreadContext context,
IRubyObject recv,
IRubyObject message,
IRubyObject name) |
static RubyException |
RubyException.newException(Ruby runtime,
RubyClass excptnClass,
java.lang.String msg) |
static RubyException |
RubyNoMethodError.newNoMethodError(IRubyObject recv,
IRubyObject message,
IRubyObject name,
IRubyObject args) |
static RubyException |
RubyNoMethodError.newNoMethodError(IRubyObject recv,
IRubyObject message,
IRubyObject name,
IRubyObject args,
boolean privateCall) |
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 |
---|---|
static RaiseException |
RaiseException.from(RubyException exception,
IRubyObject backtrace)
Deprecated.
|
protected void |
RaiseException.setException(RubyException newException)
Sets the exception
|
protected void |
RaiseException.setException(RubyException newException,
boolean unused)
Deprecated.
|
Constructor and Description |
---|
Exception(java.lang.String message,
RubyException exception) |
RaiseException(RubyException exception)
Deprecated.
|
RaiseException(RubyException exception,
boolean unused)
Deprecated.
|
RaiseException(RubyException exception,
IRubyObject backtrace)
Deprecated.
|
RaiseException(java.lang.String message,
RubyException exception) |
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)
Deprecated.
|
static void |
TraceType.logException(RubyException exception) |
java.lang.String |
TraceType.printBacktrace(RubyException exception,
boolean console) |
abstract java.lang.String |
TraceType.Format.printBacktrace(RubyException exception,
boolean console) |
protected static java.lang.String |
TraceType.printBacktraceJRuby(RubyException exception,
boolean console) |
protected static java.lang.String |
TraceType.printBacktraceMRI(RubyException exception,
boolean console) |
Copyright © 2001-2018 JRuby. All Rights Reserved.