| Package | Description |
|---|---|
| org.mule.runtime.core | |
| org.mule.runtime.core.api | |
| org.mule.runtime.core.api.util | |
| org.mule.runtime.core.exception | |
| org.mule.runtime.core.execution |
| Modifier and Type | Method and Description |
|---|---|
ErrorTypeLocator |
DefaultMuleContext.getErrorTypeLocator() |
| Modifier and Type | Method and Description |
|---|---|
void |
DefaultMuleContext.setErrorTypeLocator(ErrorTypeLocator errorTypeLocator) |
| Modifier and Type | Method and Description |
|---|---|
ErrorTypeLocator |
MuleContext.getErrorTypeLocator() |
| Modifier and Type | Method and Description |
|---|---|
static Event |
ExceptionUtils.createErrorEvent(Event currentEvent,
Object annotatedObject,
MessagingException messagingException,
ErrorTypeLocator errorTypeLocator)
Create new
Event with Error instance set. |
static org.mule.runtime.api.message.Error |
ExceptionUtils.getErrorFromFailingProcessor(Object annotatedObject,
Throwable causeException,
ErrorTypeLocator errorTypeLocator) |
static org.mule.runtime.api.message.ErrorType |
ExceptionUtils.getErrorTypeFromFailingProcessor(Object annotatedObject,
Throwable exception,
ErrorTypeLocator errorTypeLocator)
Determine the
ErrorType of a given exception thrown by a given message processor. |
static MessagingException |
ExceptionUtils.updateMessagingException(org.slf4j.Logger logger,
Processor processor,
MessagingException exception,
ErrorTypeLocator errorTypeLocator,
ErrorTypeRepository errorTypeRepository,
FlowConstruct flowConstruct,
MuleContext muleContext)
Updates the
MessagingException to be thrown based on the content of the exception parameter and the chain of
causes inside it. |
| Modifier and Type | Method and Description |
|---|---|
ErrorTypeLocator |
ErrorTypeLocator.Builder.build()
Builds an
ErrorTypeLocator instance with the provided configuration. |
static ErrorTypeLocator |
ErrorTypeLocatorFactory.createDefaultErrorTypeLocator(ErrorTypeRepository errorTypeRepository)
Creates the default
ErrorTypeLocator to use in mule. |
| Modifier and Type | Method and Description |
|---|---|
ErrorTypeLocator |
MessageProcessContext.getErrorTypeLocator() |
Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.