| Package | Description |
|---|---|
| org.mule.runtime.core.exception |
| Modifier and Type | Method and Description |
|---|---|
ErrorTypeLocator.Builder |
ErrorTypeLocator.Builder.addComponentExceptionMapper(org.mule.runtime.api.component.ComponentIdentifier componentIdentifier,
ExceptionMapper exceptionMapper)
Adds an
ExceptionMapper for a particular component identified by the componentIdentifier. |
static ErrorTypeLocator.Builder |
ErrorTypeLocator.builder(ErrorTypeRepository errorTypeRepository)
Builder for creating instances of
ErrorTypeLocator. |
ErrorTypeLocator.Builder |
ErrorTypeLocator.Builder.defaultError(org.mule.runtime.api.message.ErrorType defaultError)
Adds an
ErrorType that is used when no mapping is found for a component. |
ErrorTypeLocator.Builder |
ErrorTypeLocator.Builder.defaultExceptionMapper(ExceptionMapper exceptionMapper)
Sets the default exception mapper to use when a component doesn't define a mapping for an exception type.
|
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.