Package cms.util.maybe
Class NoMaybeValue
java.lang.Object
java.lang.Throwable
java.lang.Exception
cms.util.FastException
cms.util.maybe.NoMaybeValue
- All Implemented Interfaces:
Serializable
A checked exception that forces the programmer to handle the possibility
of empty maybes. This exception is designed to be efficient and to be used
intentionally by programmers in non-error situations.
- See Also:
-
Field Summary
-
Constructor Summary
-
Method Summary
Methods inherited from class cms.util.FastException
customFillInStackTrace, fillInStackTrace, withStackTrace
Methods inherited from class java.lang.Throwable
addSuppressed, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
theException
-
-
Constructor Details
-
NoMaybeValue
public NoMaybeValue()
-
-
Method Details
-
create
Description copied from class:FastException
Create a FastException- Specified by:
create
in classFastException
-