Search in sources :

Example 1 with ErrorHandler

use of org.mule.runtime.core.internal.exception.ErrorHandler in project mule by mulesoft.

the class ErrorHandlerFactoryBean method doGetObject.

@Override
public ErrorHandler doGetObject() throws Exception {
    ErrorHandler errorHandler;
    if (delegate != null) {
        errorHandler = delegate;
    } else {
        errorHandler = new ErrorHandler();
        errorHandler.setName(name);
        errorHandler.setExceptionListeners(exceptionListeners);
    }
    return errorHandler;
}
Also used : ErrorHandler(org.mule.runtime.core.internal.exception.ErrorHandler)

Aggregations

ErrorHandler (org.mule.runtime.core.internal.exception.ErrorHandler)1