org.apache.camel.processor
Class CatchProcessor
java.lang.Object
org.apache.camel.impl.ServiceSupport
org.apache.camel.processor.DelegateProcessor
org.apache.camel.processor.CatchProcessor
- All Implemented Interfaces:
- Processor, Service
public class CatchProcessor
- extends DelegateProcessor
A processor which catches exceptions.
- Version:
- $Revision: 565 $
Methods inherited from class org.apache.camel.impl.ServiceSupport |
addChildService, getThreadName, getVersion, isRunAllowed, isStarted, isStarting, isStopped, isStopping, nextThreadCounter, removeChildService, start, stop |
CatchProcessor
public CatchProcessor(List<Class> exceptions,
Processor processor)
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.