Package org.webpki.util
Class WrappedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.webpki.util.WrappedException
- All Implemented Interfaces:
Serializable
Wrapped exception handler.
Note: the use of RuntimeException is deliberate, declared exceptions only complicate
programming and was excluded in .NET.
- See Also:
-
Constructor Summary
ConstructorDescriptionWrappedException
(Exception wrapped_exception) Takes an existing exception and creates a new one while keeping the stack intact. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
WrappedException
Takes an existing exception and creates a new one while keeping the stack intact.- Parameters:
wrapped_exception
- The exception.
-