public interface ExceptionPolicyStrategy
ExceptionPolicyKey should handle the thrown
exception.DefaultExceptionPolicy| Modifier and Type | Method and Description |
|---|---|
ExceptionPolicyKey |
getExceptionPolicy(Set<ExceptionPolicyKey> exceptionPolicies,
org.apache.camel.Exchange exchange,
Throwable exception)
Resolves the
ExceptionPolicyKey that should handle the thrown exception. |
ExceptionPolicyKey getExceptionPolicy(Set<ExceptionPolicyKey> exceptionPolicies, org.apache.camel.Exchange exchange, Throwable exception)
ExceptionPolicyKey that should handle the thrown exception.exceptionPolicies - the configured exception policies to resolve fromexchange - the exchangeexception - the exception that was thrownApache Camel