Package org.jruby.exceptions
Class JumpException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jruby.exceptions.JumpException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
JumpException.FlowControlException
,RaiseException
This class should be used for performance reasons if the
Exception don't need a stack trace.
- Author:
- jpetersen
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
static class
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionConstructor for flow-control-only JumpExceptions.JumpException
(String msg) Constructor for JumpException.JumpException
(String msg, Throwable cause) -
Method Summary
Modifier and TypeMethodDescriptionThis method don't do anything for performance reasons.protected final Throwable
Methods inherited from class java.lang.Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
SPECIAL_JUMP
-
-
Constructor Details
-
JumpException
public JumpException()Constructor for flow-control-only JumpExceptions. -
JumpException
Constructor for JumpException.- Parameters:
msg
-
-
JumpException
-
-
Method Details
-
fillInStackTrace
This method don't do anything for performance reasons.- Overrides:
fillInStackTrace
in classThrowable
- See Also:
-
originalFillInStackTrace
-