Package org.jboss.byteman.rule.exception
Class EarlyReturnException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.jboss.byteman.rule.exception.ExecuteException
-
- org.jboss.byteman.rule.exception.EarlyReturnException
-
- All Implemented Interfaces:
Serializable
public class EarlyReturnException extends ExecuteException
Specialization of ExecuteException which is used to cause a trigger method to return early the trigger point, possibly supplying an object to be returned. This is used to implement the RETURN action- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description EarlyReturnException(String message)
EarlyReturnException(String message, Object returnValue)
EarlyReturnException(String message, Throwable th)
EarlyReturnException(String message, Throwable th, Object returnValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
getReturnValue()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-