Class WrappedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- be.sddevelopment.commons.exceptions.WrappedException
-
- All Implemented Interfaces:
Serializable
public class WrappedException extends RuntimeException
Description of file/class
Example usage
// No example available yet
References
- Since:
- 1.0.0
- Version:
- 1.0.0
- Author:
- Stijn Dejongh
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WrappedException(Exception originalException)
WrappedException(String message, Exception cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Throwable
getCause()
String
getMessage()
Exception
getOriginalException()
StackTraceElement[]
getStackTrace()
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
getMessage
public String getMessage()
- Overrides:
getMessage
in classThrowable
-
getStackTrace
public StackTraceElement[] getStackTrace()
- Overrides:
getStackTrace
in classThrowable
-
getOriginalException
public Exception getOriginalException()
-
-