Package org.forgerock.util.promise
Class NeverThrowsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.forgerock.util.promise.NeverThrowsException
- All Implemented Interfaces:
Serializable
The
NeverThrowsException
class is an uninstantiable placeholder
exception which should be used for indicating that a Function
or
AsyncFunction
never throws an exception (i.e. the function cannot
fail).- See Also:
-
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString