jruby/docs BETA
Navigation
org.jruby.exceptions 47
C ArgumentError
C CatchThrow
C ConcurrencyError
C DomainError
C EOFError
C EncodingError
C Exception
C Fatal
C FiberError
C FiberKill
C FloatDomainError
C FrozenError
C IOError
C IndexError
C Interrupt
C InterruptedRegexpError
C JumpException
C KeyError
C LoadError
C LocalJumpError
C MainExitException
C NameError
C NoMatchingPatternError
C NoMatchingPatternKeyError
C NoMemoryError
C NoMethodError
C NotImplementedError
C RaiseException
C RangeError
C ReadPartialBufferOverflowException
C RegexpError
C RuntimeError
C ScriptError
C SecurityError
C SignalException
C StandardError
C StopIteration
C SyntaxError
C SystemCallError
C SystemExit
C SystemStackError
C ThreadError
C ThreadKill
C TypeError
C UncaughtThrowError
I Unrescuable
C ZeroDivisionError
NoMethodError — members 1+
C new(message, exception)
from Throwable
C add_suppressed(arg0)
M localized_message() String
C print_stack_trace()
C print_stack_trace(arg0)
C print_stack_trace(arg0)
M stack_trace() StackTraceElement[]
C stack_trace=(arg0)
M suppressed() Throwable[]
M to_string() String
from RaiseException
M cause() Throwable
M exception() RubyException
M fill_in_stack_trace() Throwable
M message() String
from Exception
M init_cause(cause) Throwable
from JumpException
F SPECIAL_JUMP SpecialJump

org.jruby.exceptions.NoMethodError

class extends NameError 1 members

Represents a Ruby NoMethodError as a throwable Java exception.

Constructors

new

new ( String message, RubyNoMethodError exception )
Java: <init>(String message, org.jruby.RubyNoMethodError exception)

Inherited

from Throwable

add_suppressed

add_suppressed ( Throwable arg0 )
Java: addSuppressed(Throwable arg0)

localized_message

String localized_message ( )
Java: getLocalizedMessage() · also: get_localized_message

print_stack_trace

print_stack_trace ( )
Java: printStackTrace()

print_stack_trace

print_stack_trace ( PrintStream arg0 )
Java: printStackTrace(java.io.PrintStream arg0)

print_stack_trace

print_stack_trace ( PrintWriter arg0 )
Java: printStackTrace(java.io.PrintWriter arg0)

stack_trace

StackTraceElement[] stack_trace ( )
Java: getStackTrace() · also: get_stack_trace

stack_trace=

stack_trace= ( StackTraceElement[] arg0 )
Java: setStackTrace(StackTraceElement[] arg0) · also: set_stack_trace

suppressed

Throwable[] suppressed ( )
Java: getSuppressed() · also: get_suppressed

to_string

String to_string ( )
Java: toString()

from RaiseException

cause

Throwable cause ( )
Java: getCause() · also: get_cause

exception

RubyException exception ( )
Java: getException() · also: get_exception

Gets the exception

Returns: Returns a RubyException

fill_in_stack_trace

Throwable fill_in_stack_trace ( )
Java: fillInStackTrace()

message

String message ( )
Java: getMessage() · also: get_message

from Exception

init_cause

Throwable init_cause ( Throwable cause )
Java: initCause(Throwable cause)

from JumpException

fieldtypenote
SPECIAL_JUMP JumpException.SpecialJump