Class ExceptionWrapper
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- io.github.spartatech.sqljson.exception.ExceptionWrapper
-
- All Implemented Interfaces:
Serializable
public class ExceptionWrapper extends RuntimeException
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ExceptionWrapper(Exception realException)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static ExceptionWrapperof(Exception realException)Exceptionunwrap()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ExceptionWrapper
public ExceptionWrapper(Exception realException)
-
-
Method Detail
-
unwrap
public Exception unwrap()
-
of
public static ExceptionWrapper of(Exception realException)
-
-