org.testinfected.hamcrest
Class ExceptionImposter

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.testinfected.hamcrest.ExceptionImposter
All Implemented Interfaces:
java.io.Serializable

public class ExceptionImposter
extends java.lang.RuntimeException

See Also:
Serialized Form

Constructor Summary
ExceptionImposter(java.lang.Exception e)
           
 
Method Summary
 java.lang.Exception getRealException()
           
static java.lang.RuntimeException imposterize(java.lang.Exception e)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ExceptionImposter

public ExceptionImposter(java.lang.Exception e)
Method Detail

imposterize

public static java.lang.RuntimeException imposterize(java.lang.Exception e)

getRealException

public java.lang.Exception getRealException()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Throwable