Package one.microstream.exceptions
Class WrapperRuntimeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- one.microstream.exceptions.WrapperRuntimeException
-
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
IllegalAccessRuntimeException
,InstantiationRuntimeException
,InvalidClassRuntimeException
,InvocationTargetRuntimeException
,IORuntimeException
,NoSuchFieldRuntimeException
,NoSuchMethodRuntimeException
public class WrapperRuntimeException extends RuntimeException
Checked exceptions are a moronic concept that ruin functional programming and seduce to swallow exceptions with a foolish print instead of handling them properly and ignore unchecked exceptions altogether.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description WrapperRuntimeException(Exception actual)
-
Method Summary
Modifier and Type Method Description Throwable
fillInStackTrace()
Exception
getActual()
Throwable
getCause()
String
getMessage()
StackTraceElement[]
getStackTrace()
-
Methods inherited from class java.lang.Throwable
addSuppressed, getLocalizedMessage, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
WrapperRuntimeException
public WrapperRuntimeException(Exception actual)
-
-
Method Detail
-
getActual
public Exception getActual()
-
getStackTrace
public StackTraceElement[] getStackTrace()
- Overrides:
getStackTrace
in classThrowable
-
getMessage
public String getMessage()
- Overrides:
getMessage
in classThrowable
-
fillInStackTrace
public Throwable fillInStackTrace()
- Overrides:
fillInStackTrace
in classThrowable
-
-