org.apache.camel.builder
Class ErrorHandlerBuilderSupport
java.lang.Object
org.apache.camel.builder.ErrorHandlerBuilderSupport
- All Implemented Interfaces:
- ErrorHandlerBuilder
- Direct Known Subclasses:
- DeadLetterChannelBuilder, ErrorHandlerBuilderRef, LoggingErrorHandlerBuilder, NoErrorHandlerBuilder
public abstract class ErrorHandlerBuilderSupport
- extends Object
- implements ErrorHandlerBuilder
Base class for builders of error handling.
- Version:
- $Revision: 51087 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ErrorHandlerBuilderSupport
public ErrorHandlerBuilderSupport()
addErrorHandlers
public void addErrorHandlers(ExceptionType exception)
- Description copied from interface:
ErrorHandlerBuilder
- Adds error handler for the given exception type
- Specified by:
addErrorHandlers
in interface ErrorHandlerBuilder
- Parameters:
exception
- the exception to handle
configure
protected void configure(ErrorHandlerSupport handler)
getExceptions
public List<ExceptionType> getExceptions()
setErrorHandlers
public void setErrorHandlers(List<ExceptionType> exceptions)
- Description copied from interface:
ErrorHandlerBuilder
- Adds the error handlers for the given list of exception types
- Specified by:
setErrorHandlers
in interface ErrorHandlerBuilder
- Parameters:
exceptions
- the list of exceptions to handle
Copyright © 2008 IONA Open Source Community. All Rights Reserved.