Class 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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getRootExceptionClassName()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, 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