ch.systemsx.cisd.common.exceptions
Class MasqueradingException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by ch.systemsx.cisd.common.exceptions.MasqueradingException
All Implemented Interfaces:
java.io.Serializable

public final class MasqueradingException
extends java.lang.RuntimeException

A RuntimeException extension which almost clones given rootException without saving it as cause.

This means that it does not contain any third-party specific or proprietary Exception extension that the client does not know about and does not understand.

See Also:
Serialized Form

Constructor Summary
MasqueradingException(java.lang.Exception rootException)
           
MasqueradingException(java.lang.Exception rootException, java.lang.String prefix)
           
 
Method Summary
 java.lang.String getRootExceptionClassName()
           
 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
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

MasqueradingException

public MasqueradingException(java.lang.Exception rootException,
                             java.lang.String prefix)

MasqueradingException

public MasqueradingException(java.lang.Exception rootException)
Method Detail

getRootExceptionClassName

public final java.lang.String getRootExceptionClassName()

toString

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