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
Enclosing class:
Result<V>

public static class Result.AbsentValueException extends RuntimeException
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 Details

    • AbsentValueException

      public AbsentValueException()
    • AbsentValueException

      public AbsentValueException(String message)
    • AbsentValueException

      public AbsentValueException(String message, Throwable cause)
    • AbsentValueException

      public AbsentValueException(Throwable cause)