Top Description Fields Constructors Methods
org.jruby

public Class RubyUncaughtThrowError

extends RubyArgumentError
Class Inheritance
Annotations
@JRubyClass
name:UncaughtThrowError
parent:ArgumentError
Imports
org.jruby.anno.JRubyClass, .JRubyMethod, org.jruby.exceptions.RaiseException, .UncaughtThrowError, org.jruby.runtime.Arity, .Block, .ThreadContext, .Visibility, org.jruby.runtime.builtin.IRubyObject

The Java representation of a Ruby UncaughtThrowError.
Author
kares
See Also
UncaughtThrowError

Field Summary

Modifier and TypeField and Description
private IRubyObject
private IRubyObject

Constructor Summary

AccessConstructor and Description
protected
RubyUncaughtThrowError(Ruby runtime, RubyClass exceptionClass)
Deprecated since 10.0.

protected

Method Summary

Modifier and TypeMethod and Description
protected RaiseException
public void
pack-priv static RubyClass
public IRubyObject
initialize(IRubyObject[] args, Block block)

Overrides org.jruby.RubyException.initialize.

Deprecated

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

public static RubyUncaughtThrowError
newUncaughtThrowError(final Ruby runtime, IRubyObject tag, IRubyObject value, RubyString message)
Deprecated since 10.0.

public static RubyUncaughtThrowError
public IRubyObject
tag()

public RubyString
public IRubyObject

Field Detail

tagback to summary
private IRubyObject tag
valueback to summary
private IRubyObject value

Constructor Detail

RubyUncaughtThrowErrorback to summary
protected RubyUncaughtThrowError(Ruby runtime, RubyClass exceptionClass)

Deprecated

since 10.0.

Annotations
@Deprecated
since:10.0
RubyUncaughtThrowErrorback to summary
protected RubyUncaughtThrowError(ThreadContext context, RubyClass exceptionClass)

Method Detail

constructThrowableback to summary
protected RaiseException constructThrowable(String message)

Overrides org.jruby.RubyArgumentError.constructThrowable.

Annotations
@Override
copySpecialInstanceVariablesback to summary
public void copySpecialInstanceVariables(IRubyObject clone)

Overrides org.jruby.RubyException.copySpecialInstanceVariables.

Implements org.jruby.runtime.builtin.IRubyObject.copySpecialInstanceVariables.

Doc from org.jruby.RubyBasicObject.copySpecialInstanceVariables.

Lots of MRI objects keep their state in non-lookupable ivars (e:g. Range, Struct, etc). This method is responsible for dupping our java field equivalents

Annotations
@Override
defineback to summary
pack-priv static RubyClass define(ThreadContext context, RubyClass ArgumentError)

Hides org.jruby.RubyArgumentError.define.

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
required:2
optional:1
checkArity:false
visibility:PRIVATE
newUncaughtThrowErrorback to summary
public static RubyUncaughtThrowError newUncaughtThrowError(final Ruby runtime, IRubyObject tag, IRubyObject value, RubyString message)

Deprecated

since 10.0.

Annotations
@Deprecated
since:10.0
newUncaughtThrowErrorback to summary
public static RubyUncaughtThrowError newUncaughtThrowError(ThreadContext context, IRubyObject tag, IRubyObject value, RubyString message)
tagback to summary
public IRubyObject tag()
Annotations
@JRubyMethod
to_sback to summary
public RubyString to_s(ThreadContext context)

Overrides org.jruby.RubyException.to_s.

Annotations
@Override
valueback to summary
public IRubyObject value()
Annotations
@JRubyMethod