Package org.jruby.exceptions
Class CatchThrow
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jruby.exceptions.CatchThrow
- All Implemented Interfaces:
Serializable
,Unrescuable
- Direct Known Subclasses:
RubyContinuation.Continuation
A flow-control exception used internally for Ruby's catch/throw functionality.
- See Also:
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic IRubyObject
enter
(ThreadContext context, IRubyObject yielded, Block block) Methods inherited from class java.lang.Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
args
-
tag
-
-
Constructor Details
-
CatchThrow
public CatchThrow() -
CatchThrow
-
-
Method Details
-
fillInStackTrace
- Overrides:
fillInStackTrace
in classThrowable
-
enter
-