org.apache.camel.model
Class CatchType

java.lang.Object
  extended by org.apache.camel.model.ProcessorType
      extended by org.apache.camel.model.CatchType

public class CatchType
extends ProcessorType

Version:
$Revision: 1.1 $

Field Summary
 
Fields inherited from class org.apache.camel.model.ProcessorType
DEFAULT_TRACE_CATEGORY
 
Constructor Summary
CatchType()
           
CatchType(Class exceptionType)
           
CatchType(List<Class> exceptionClasses)
           
 
Method Summary
protected  List<Class> createExceptionClasses()
           
 CatchProcessor createProcessor(RouteContext routeContext)
           
 List<Class> getExceptionClasses()
           
 List<String> getExceptions()
           
 List<InterceptorType> getInterceptors()
           
 List<ProcessorType> getOutputs()
           
 void setExceptionClasses(List<Class> exceptionClasses)
           
 void setExceptions(List<String> exceptions)
           
 void setInterceptors(List<InterceptorType> interceptors)
           
 void setOutputs(List<ProcessorType> outputs)
           
 String toString()
           
 
Methods inherited from class org.apache.camel.model.ProcessorType
addOutput, addRoutes, aggregator, aggregator, beanRef, beanRef, choice, configureChild, convertBodyTo, convertOutBodyTo, createCompositeProcessor, createErrorHandlerBuilder, createOutputsProcessor, createOutputsProcessor, delayer, delayer, delayer, errorHandler, exception, filter, filter, filter, getErrorHandlerBuilder, getInheritErrorHandlerFlag, idempotentConsumer, inheritErrorHandler, intercept, intercept, intercept, interceptor, interceptors, isInheritErrorHandler, makeProcessor, multicast, pipeline, pipeline, pipeline, policies, policy, proceed, process, recipientList, resequencer, resequencer, resequencer, setBody, setErrorHandlerBuilder, setHeader, setInheritErrorHandlerFlag, setOutBody, setOutHeader, setProperty, splitter, throttler, to, to, to, to, to, trace, trace, tryBlock, wrapInErrorHandler, wrapProcessor, wrapProcessorInInterceptors
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CatchType

public CatchType()

CatchType

public CatchType(List<Class> exceptionClasses)

CatchType

public CatchType(Class exceptionType)
Method Detail

toString

public String toString()
Overrides:
toString in class Object

createProcessor

public CatchProcessor createProcessor(RouteContext routeContext)
                               throws Exception
Overrides:
createProcessor in class ProcessorType
Throws:
Exception

getInterceptors

public List<InterceptorType> getInterceptors()
Specified by:
getInterceptors in class ProcessorType

setInterceptors

public void setInterceptors(List<InterceptorType> interceptors)

getOutputs

public List<ProcessorType> getOutputs()
Specified by:
getOutputs in class ProcessorType

setOutputs

public void setOutputs(List<ProcessorType> outputs)

getExceptionClasses

public List<Class> getExceptionClasses()

setExceptionClasses

public void setExceptionClasses(List<Class> exceptionClasses)

getExceptions

public List<String> getExceptions()

setExceptions

public void setExceptions(List<String> exceptions)

createExceptionClasses

protected List<Class> createExceptionClasses()


Copyright © 2007 Apache Software Foundation. All Rights Reserved.