- java.lang.Object
-
- de.kgrupp.monads.result.Failure<T>
-
- de.kgrupp.monads.result.InternalFailure<T>
-
-
Field Summary
-
Fields inherited from interface de.kgrupp.monads.result.Result
INTERNAL_FAILURE
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
java.lang.Throwable
getThrowable()
int
hashCode()
boolean
isInternalError()
-
Methods inherited from class de.kgrupp.monads.result.Failure
getErrorMessage, getObject, isError, isSuccess
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.kgrupp.monads.result.Result
asOptional, consume, consumeOrFail, filter, flatMap, flatRecover, flatRunnable, map, orElse, orElseGet, orElseThrow, orElseThrow, recover
-
-
-
-
Method Detail
-
isInternalError
public boolean isInternalError()
- Specified by:
isInternalError
in interfaceResult<T>
- Overrides:
isInternalError
in classFailure<T>
-
getThrowable
public java.lang.Throwable getThrowable()
- Specified by:
getThrowable
in interfaceResult<T>
- Overrides:
getThrowable
in classFailure<T>
-
-