| Package | Description |
|---|---|
| org.mule.commons.atlantic.execution.builder.factory | |
| org.mule.commons.atlantic.execution.context.exception |
| Modifier and Type | Method and Description |
|---|---|
<T extends Throwable> |
ExecutionBuilderFactory.withExceptionHandler(Class<T> exceptionClass,
ExceptionHandler<T> exceptionHandler)
Adds an
ExceptionHandler to handle a specific kind of Throwable or it's subclasses. |
| Modifier and Type | Class and Description |
|---|---|
class |
DefinedExceptionHandler<T extends Throwable>
Concrete implementation of
ExceptionHandler that contains the class of the Throwable handled. |
class |
PassThroughExceptionHandler<T extends RuntimeException>
Specific implementation of
DefinedExceptionHandler that lets the exception (which must be a subclass of the
RuntimeException class) pass through. |
| Constructor and Description |
|---|
DefinedExceptionHandler(Class<T> handledException,
ExceptionHandler<T> exceptionHandler)
Default constructor.
|
Copyright © 2018. All rights reserved.