Package org.forgerock.util.promise
Interface RuntimeExceptionHandler
- 
- All Known Implementing Classes:
 PromiseImpl
- Functional Interface:
 - This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
 
@FunctionalInterface public interface RuntimeExceptionHandler
A completion handler for consuming runtime exceptions which occur during the execution of asynchronous tasks. 
- 
- 
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description voidhandleRuntimeException(RuntimeException exception)Invoked when the asynchronous task has failed with a runtime exception. 
 - 
 
- 
- 
Method Detail
- 
handleRuntimeException
void handleRuntimeException(RuntimeException exception)
Invoked when the asynchronous task has failed with a runtime exception.- Parameters:
 exception- The runtime exception indicating why the asynchronous task has failed.
 
 - 
 
 -