| Constructor and Description |
|---|
ModuleExceptionHandler(org.mule.runtime.api.meta.model.ComponentModel componentModel,
org.mule.runtime.api.meta.model.ExtensionModel extensionModel,
org.mule.runtime.api.exception.ErrorTypeRepository typeRepository) |
| Modifier and Type | Method and Description |
|---|---|
Throwable |
processException(Throwable throwable)
Process a given
Throwable, if this one is a ModuleException, a TypedException will be built and
returned. |
public ModuleExceptionHandler(org.mule.runtime.api.meta.model.ComponentModel componentModel,
org.mule.runtime.api.meta.model.ExtensionModel extensionModel,
org.mule.runtime.api.exception.ErrorTypeRepository typeRepository)
public Throwable processException(Throwable throwable)
Throwable, if this one is a ModuleException, a TypedException will be built and
returned.
TypedException will be taken from the given throwable causeErrorType will be taken from the ErrorTypeRepository using the ErrorTypeDefinition from the
ModuleExceptionthrowable - to processCopyright © 2003–2024 MuleSoft, Inc.. All rights reserved.