Top Description Fields Constructors Methods
org.jruby

public Class RubyScriptError

extends RubyException
Class Inheritance
Known Direct Subclasses
org.jruby.RubySyntaxError, org.jruby.RubyLoadError, org.jruby.RubyNotImplementedError
Annotations
@JRubyClass
name:ScriptError
parent:Exception
Imports
org.jruby.anno.JRubyClass, org.jruby.exceptions.RaiseException, .ScriptError, org.jruby.runtime.ThreadContext

The Java representation of a Ruby ScriptError.
See Also
ScriptError

Field Summary

Inherited from org.jruby.RubyException:
EXCEPTION_ALLOCATORmessageTRACE_HEADTRACE_MAXTRACE_TAIL

Constructor Summary

AccessConstructor and Description
protected
RubyScriptError(Ruby runtime, RubyClass exceptionClass)

Method Summary

Modifier and TypeMethod and Description
protected RaiseException
pack-priv static RubyClass
define(ThreadContext context, RubyClass Exception)

Inherited from org.jruby.RubyException:
backtracebacktrace_locationscaptureBacktracecausecopySpecialInstanceVariablescreateExceptionClassdetailed_messagedetailed_messagedetailed_messageexceptionexceptionfull_messagefull_messagegetBacktracegetBacktraceElementsgetCausegetMessagegetMessageAsJavaStringgetVariableListgetVariableNameListinitializeinitializeinitializeinitializeinspectmessagenewExceptionnewExceptionnewExceptionnewExceptionop_eqqop_equalprepareIntegratedBacktraceprintBacktraceprintBacktraceretrieveBacktraceset_backtraceset_backtracesetBacktracesetCausesetMessageto_sto_tty_ptoJavatoThrowable

Constructor Detail

RubyScriptErrorback to summary
protected RubyScriptError(Ruby runtime, RubyClass exceptionClass)

Method Detail

constructThrowableback to summary
protected RaiseException constructThrowable(String message)

Overrides org.jruby.RubyException.constructThrowable.

defineback to summary
pack-priv static RubyClass define(ThreadContext context, RubyClass Exception)