Class ResultException

All Implemented Interfaces:
Serializable

public class ResultException extends RuntimeException
Exception thrown by Result.getOrThrow() when there is no value present.
See Also:
  • Constructor Details

    • ResultException

      public ResultException(String message)
    • ResultException

      public ResultException(Throwable cause)
    • ResultException

      public ResultException(Object errorObject)
  • Method Details

    • getErrorObject

      public Object getErrorObject()