| Modifier and Type | Method and Description |
|---|---|
<T extends Throwable> |
ExecutionBuilderFactory.withExceptionHandler(DefinedExceptionHandler<T> exceptionHandler)
Adds a
DefinedExceptionHandler to handle a specific kind of Throwable or it's subclasses. |
| Constructor and Description |
|---|
ExecutionContext(Executor<RESULT> executor,
List<PreExecutionListener> preExecutionListeners,
List<PostExecutionListener<RESULT>> postExecutionListeners,
List<DefinedExceptionHandler<?>> exceptionHandlers)
Default constructor.
|
| Modifier and Type | Class and Description |
|---|---|
class |
PassThroughExceptionHandler<T extends RuntimeException>
Specific implementation of
DefinedExceptionHandler that lets the exception (which must be a subclass of the
RuntimeException class) pass through. |
| Modifier and Type | Method and Description |
|---|---|
RESULT |
Executor.execute(Supplier<RESULT> lambda,
List<Object> params,
List<PreExecutionListener> preExecutionListeners,
List<PostExecutionListener<RESULT>> postExecutionListeners,
List<DefinedExceptionHandler<?>> exceptionHandlers)
Executes the passed
Supplier over the provided ExecutionContext. |
RESULT |
BlockingExecutor.execute(Supplier<RESULT> lambda,
List<Object> params,
List<PreExecutionListener> preExecutionListeners,
List<PostExecutionListener<RESULT>> postExecutionListeners,
List<DefinedExceptionHandler<?>> exceptionHandlers) |
Copyright © 2018. All rights reserved.