Top Description Fields Constructors Methods
org.jruby

public Class RubySystemExit

extends RubyException
Class Inheritance
Annotations
@JRubyClass
name:SystemExit
parent:Exception
Imports
org.jruby.anno.JRubyMethod, .JRubyClass, org.jruby.exceptions.RaiseException, .SystemExit, org.jruby.runtime.Arity, .Block, .ThreadContext, org.jruby.runtime.builtin.IRubyObject

The Java representation of a Ruby SystemExit.
See Also
SystemExit

Field Summary

Modifier and TypeField and Description
pack-priv IRubyObject
Inherited from org.jruby.RubyException:
EXCEPTION_ALLOCATORmessageTRACE_HEADTRACE_MAXTRACE_TAIL

Constructor Summary

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

Method Summary

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

public IRubyObject
initialize(IRubyObject[] args, Block block)

Overrides org.jruby.RubyException.initialize.

Deprecated

public IRubyObject
initialize(ThreadContext context, IRubyObject[] args, Block block)

public static RubySystemExit
newInstance(Ruby runtime, int status, String message)
Deprecated

public static RubySystemExit
newInstance(ThreadContext context, int status, String message)

public IRubyObject
public IRubyObject
Inherited from org.jruby.RubyException:
backtracebacktrace_locationscaptureBacktracecausecopySpecialInstanceVariablescreateExceptionClassdetailed_messagedetailed_messagedetailed_messageexceptionexceptionfull_messagefull_messagegetBacktracegetBacktraceElementsgetCausegetMessagegetMessageAsJavaStringgetVariableListgetVariableNameListinitializeinitializeinitializeinspectmessagenewExceptionnewExceptionnewExceptionnewExceptionop_eqqop_equalprepareIntegratedBacktraceprintBacktraceprintBacktraceretrieveBacktraceset_backtraceset_backtracesetBacktracesetCausesetMessageto_sto_tty_ptoJavatoThrowable

Field Detail

statusback to summary
pack-priv IRubyObject status

Constructor Detail

RubySystemExitback to summary
protected RubySystemExit(Ruby runtime, RubyClass exceptionClass)

Method Detail

constructThrowableback to summary
protected RaiseException constructThrowable(String message)

Overrides org.jruby.RubyException.constructThrowable.

Annotations
@Override
defineback to summary
pack-priv static RubyClass define(ThreadContext context, RubyClass Exception)
initializeback to summary
public IRubyObject initialize(IRubyObject[] args, Block block)

Overrides org.jruby.RubyException.initialize.

Deprecated

Annotations
@Deprecated
@Override
initializeback to summary
public IRubyObject initialize(ThreadContext context, IRubyObject[] args, Block block)
Annotations
@JRubyMethod
optional:2
checkArity:false
visibility:PRIVATE
newInstanceback to summary
public static RubySystemExit newInstance(Ruby runtime, int status, String message)

Deprecated

Annotations
@Deprecated
newInstanceback to summary
public static RubySystemExit newInstance(ThreadContext context, int status, String message)
statusback to summary
public IRubyObject status()
Annotations
@JRubyMethod
success_pback to summary
public IRubyObject success_p()
Annotations
@JRubyMethod
name:success?