Class ExceptionPolicyKey
java.lang.Object
org.apache.camel.processor.errorhandler.ExceptionPolicyKey
Exception policy key is a compound key for storing: route id + exception class + when =>
exception type.
This is used by Camel to store the onException types configured that has or has not predicates attached (when).
-
Constructor Summary
ConstructorDescriptionExceptionPolicyKey
(String routeId, Class<? extends Throwable> exceptionClass, org.apache.camel.Predicate when) Key for exception clause -
Method Summary
-
Constructor Details
-
ExceptionPolicyKey
public ExceptionPolicyKey(String routeId, Class<? extends Throwable> exceptionClass, org.apache.camel.Predicate when) Key for exception clause- Parameters:
routeId
- the route, or use null for a global scopedexceptionClass
- the exception classwhen
- optional predicate when the exception clause should trigger
-
-
Method Details