org.jruby.exceptions
Class JumpException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jruby.exceptions.JumpException
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- JumpException.FlowControlException, RaiseException
public class JumpException
- extends java.lang.RuntimeException
This class should be used for performance reasons if the
Exception don't need a stack trace.
- Author:
- jpetersen
- See Also:
- Serialized Form
Constructor Summary |
JumpException()
Constructor for flow-control-only JumpExceptions. |
JumpException(java.lang.String msg)
Constructor for JumpException. |
JumpException(java.lang.String msg,
java.lang.Throwable cause)
|
Methods inherited from class java.lang.Throwable |
getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RETRY_JUMP
public static final JumpException.RetryJump RETRY_JUMP
REDO_JUMP
public static final JumpException.RedoJump REDO_JUMP
SPECIAL_JUMP
public static final JumpException.SpecialJump SPECIAL_JUMP
JumpException
public JumpException()
- Constructor for flow-control-only JumpExceptions.
JumpException
public JumpException(java.lang.String msg)
- Constructor for JumpException.
- Parameters:
msg
-
JumpException
public JumpException(java.lang.String msg,
java.lang.Throwable cause)
fillInStackTrace
public java.lang.Throwable fillInStackTrace()
- This method don't do anything for performance reasons.
- Overrides:
fillInStackTrace
in class java.lang.Throwable
- See Also:
Throwable.fillInStackTrace()
originalFillInStackTrace
protected java.lang.Throwable originalFillInStackTrace()
Copyright © 2002-2007 JRuby Team. All Rights Reserved.