org.apache.camel.processor.exceptionpolicy
Class ExceptionPolicyKey
java.lang.Object
org.apache.camel.processor.exceptionpolicy.ExceptionPolicyKey
public final class ExceptionPolicyKey
- extends Object
Exception policy key is a compound key for storing:
exception class + when => exception type.
This is used by Camel to store the onException types configured that has or has not predicates attached (when).
ExceptionPolicyKey
public ExceptionPolicyKey(Class exceptionClass,
WhenDefinition when)
getExceptionClass
public Class<?> getExceptionClass()
getWhen
public WhenDefinition getWhen()
newInstance
public static ExceptionPolicyKey newInstance(Class exceptionClass)
newInstance
public static ExceptionPolicyKey newInstance(Class exceptionClass,
WhenDefinition when)
equals
public boolean equals(Object o)
- Overrides:
equals in class Object
hashCode
public int hashCode()
- Overrides:
hashCode in class Object
toString
public String toString()
- Overrides:
toString in class Object
Copyright © 2007-2010 The Apache Software Foundation. All Rights Reserved.