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 ThrowablefillInStackTrace()ExceptiongetActual()ThrowablegetCause()StringgetMessage()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:
getStackTracein classThrowable
-
getMessage
public String getMessage()
- Overrides:
getMessagein classThrowable
-
fillInStackTrace
public Throwable fillInStackTrace()
- Overrides:
fillInStackTracein classThrowable
-
-