You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "Claus Ibsen (JIRA)" <ji...@apache.org> on 2009/04/06 08:36:34 UTC

[jira] Resolved: (CAMEL-1518) Add method Exchange.getException(Type) - that will traverse the caused by tree and find the given type

     [ https://issues.apache.org/activemq/browse/CAMEL-1518?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Claus Ibsen resolved CAMEL-1518.
--------------------------------

    Resolution: Fixed

trunk: 762220

> 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
>            Assignee: 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.