Package org.forgerock.util.promise
Interface RuntimeExceptionHandler
- All Known Implementing Classes:
PromiseImpl
public interface RuntimeExceptionHandler
A completion handler for consuming runtime exceptions which occur during the
execution of asynchronous tasks.
-
Method Summary
Modifier and TypeMethodDescriptionvoid
handleRuntimeException
(RuntimeException exception) Invoked when the asynchronous task has failed with a runtime exception.
-
Method Details
-
handleRuntimeException
Invoked when the asynchronous task has failed with a runtime exception.- Parameters:
exception
- The runtime exception indicating why the asynchronous task has failed.
-