org.apache.camel.processor
Class CatchProcessor

java.lang.Object
  extended by org.apache.camel.impl.ServiceSupport
      extended by org.apache.camel.processor.DelegateProcessor
          extended by org.apache.camel.processor.CatchProcessor
All Implemented Interfaces:
Processor, Service

public class CatchProcessor
extends DelegateProcessor

A processor which catches exceptions.

Version:
$Revision: 565 $

Field Summary
 
Fields inherited from class org.apache.camel.processor.DelegateProcessor
processor
 
Constructor Summary
CatchProcessor(List<Class> exceptions, Processor processor)
           
 
Method Summary
 boolean catches(Throwable e)
           
 List<Class> getExceptions()
           
 String toString()
           
 
Methods inherited from class org.apache.camel.processor.DelegateProcessor
doStart, doStop, getProcessor, proceed, process, processNext, setProcessor
 
Methods inherited from class org.apache.camel.impl.ServiceSupport
addChildService, getThreadName, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, nextThreadCounter, removeChildService, start, stop
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

CatchProcessor

public CatchProcessor(List<Class> exceptions,
                      Processor processor)
Method Detail

toString

public String toString()
Overrides:
toString in class DelegateProcessor

catches

public boolean catches(Throwable e)

getExceptions

public List<Class> getExceptions()


Copyright © 2010 IONA Open Source Community. All Rights Reserved.