public static class ExceptionMapper.Builder extends Object
ExceptionMapper| Modifier and Type | Method and Description |
|---|---|
ExceptionMapper.Builder |
addExceptionMapping(Class<? extends Throwable> exceptionType,
org.mule.runtime.api.message.ErrorType errorType)
Adds a mapping between an exception and an error type.
|
ExceptionMapper |
build() |
public ExceptionMapper.Builder addExceptionMapping(Class<? extends Throwable> exceptionType, org.mule.runtime.api.message.ErrorType errorType)
exceptionType - the exception type.errorType - the error type.this builderpublic ExceptionMapper build()
ExceptionMapper based on the provided configuration.Copyright © 2003–2017 MuleSoft, Inc.. All rights reserved.