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
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:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionEarlyReturnException
(String message) EarlyReturnException
(String message, Object returnValue) EarlyReturnException
(String message, Throwable th) EarlyReturnException
(String message, Throwable th, Object returnValue) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
returnValue
-
-
Constructor Details
-
EarlyReturnException
-
EarlyReturnException
-
EarlyReturnException
-
EarlyReturnException
-
-
Method Details
-
getReturnValue
-