Add method Exchange.getException(Type) - that will traverse the caused by tree 
and find the given type
------------------------------------------------------------------------------------------------------

                 Key: CAMEL-1518
                 URL: https://issues.apache.org/activemq/browse/CAMEL-1518
             Project: Apache Camel
          Issue Type: New Feature
          Components: camel-core
            Reporter: Claus Ibsen
            Priority: Minor
             Fix For: 2.0.0


Camel often wraps the real caused exception in wrapper exceptions such as
- CamelExchangeException
- RuntimeCamelException
and what else is there

We should support its easier to get the caused/expected exception in the 
exception tree using the type parameter on getException.
Then drill down the tree and find the given exception.




-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to