com.perisic.shadow
Class ShadowException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.perisic.shadow.ShadowException
All Implemented Interfaces:
java.io.Serializable

public class ShadowException
extends java.lang.RuntimeException

A ShadowException is thrown when the method called by Shadowable.call(java.lang.String, java.lang.Object...) throws an exception or error.

See Also:
Serialized Form

Constructor Summary
ShadowException(java.lang.String message)
          Constructs a new shadow exception with the specified detail message.
ShadowException(java.lang.Throwable cause)
          Construction with an exception or error.
 
Method Summary
 
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
 

Constructor Detail

ShadowException

public ShadowException(java.lang.String message)
Constructs a new shadow exception with the specified detail message.


ShadowException

public ShadowException(java.lang.Throwable cause)
Construction with an exception or error. Note that cause can be retrieved with the getCause() method defined in Throwable.

Parameters:
cause - is the exception that is originally thrown