Package org.jboss.byteman.rule.exception
Class ThrowException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.jboss.byteman.rule.exception.ExecuteException
-
- org.jboss.byteman.rule.exception.ThrowException
-
- All Implemented Interfaces:
Serializable
public class ThrowException extends ExecuteException
Specializaton of ExecuteException used to wrap a client exception generated via a rule THROW action. A ThrowException is caught by the injected trigger code and unwrapped so that the client exception can be rethrown from the trigger method.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ThrowException(Throwable throwable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Throwable
getThrowable()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-