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:
java.io.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
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Throwable
throwable
-
Constructor Summary
Constructors Constructor Description ThrowException(java.lang.Throwable throwable)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Throwable
getThrowable()
-