java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
io.foxcapades.lib.opt.UnwrapException
- All Implemented Interfaces:
Serializable
Exception representing the case where calling code attempts to unwrap an
empty
Option instance.- See Also:
- Serialized Form
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnwrapException
-
-
Method Details
-
getOption
Returns theOptioninstance where the exception originated.- Returns:
- The
Optioninstance where the exception originated.
-