org.jboss.byteman.rule.exception
Class ThrowException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.jboss.byteman.rule.exception.ExecuteException
                  extended by 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
private  java.lang.Throwable throwable
           
 
Constructor Summary
ThrowException(java.lang.Throwable throwable)
           
 
Method Summary
 java.lang.Throwable getThrowable()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, 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
 

Field Detail

throwable

private java.lang.Throwable throwable
Constructor Detail

ThrowException

public ThrowException(java.lang.Throwable throwable)
Method Detail

getThrowable

public java.lang.Throwable getThrowable()