Package net.orbyfied.coldlib.util
Class Result.AbsentValueException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.orbyfied.coldlib.util.Result.AbsentValueException
- All Implemented Interfaces:
Serializable
An exception used by
Result when unwrapping
the result to signal the absence of a value.
When no value is present due to an error,
this exception will usually have the cause set to that
error to signal the reason.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionAbsentValueException(String message) AbsentValueException(String message, Throwable cause) AbsentValueException(Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
AbsentValueException
public AbsentValueException() -
AbsentValueException
-
AbsentValueException
-
AbsentValueException
-