org.apache.camel.builder
Class ErrorHandlerBuilderRef

java.lang.Object
  extended by org.apache.camel.builder.ErrorHandlerBuilderSupport
      extended by 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 $

Constructor Summary
ErrorHandlerBuilderRef(String ref)
           
 
Method Summary
 void addErrorHandlers(ExceptionType exception)
          Adds error handler for the given exception type
 ErrorHandlerBuilder copy()
          Creates a copy of this builder
 Processor createErrorHandler(RouteContext routeContext, Processor processor)
          Creates the error handler interceptor
 
Methods inherited from class org.apache.camel.builder.ErrorHandlerBuilderSupport
configure, getExceptions, setErrorHandlers
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ErrorHandlerBuilderRef

public ErrorHandlerBuilderRef(String ref)
Method Detail

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.