org.apache.camel.builder
Class ErrorHandlerBuilderRef
java.lang.Object
org.apache.camel.builder.ErrorHandlerBuilderSupport
org.apache.camel.builder.ErrorHandlerBuilderRef
- All Implemented Interfaces:
- ErrorHandlerBuilder
public class ErrorHandlerBuilderRef
- extends ErrorHandlerBuilderSupport
Represents a proxy to an error handler builder which is resolved by named reference
- Version:
- $Revision: 792 $
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ErrorHandlerBuilderRef
public ErrorHandlerBuilderRef(String ref)
copy
public ErrorHandlerBuilder copy()
- Description copied from interface:
ErrorHandlerBuilder
- Creates a copy of this builder
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
- Overrides:
addErrorHandlers
in class ErrorHandlerBuilderSupport
- Parameters:
exception
- the exception to handle
createErrorHandler
public Processor createErrorHandler(RouteContext routeContext,
Processor processor)
throws Exception
- Description copied from interface:
ErrorHandlerBuilder
- Creates the error handler interceptor
- Throws:
Exception
Copyright © 2010 IONA Open Source Community. All Rights Reserved.