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/05/19 09:39:50 UTC

[jira] Resolved: (CAMEL-1626) @ExchangeException should support desired exception type denoted by parameter type

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

Claus Ibsen resolved CAMEL-1626.
--------------------------------

    Resolution: Fixed

trunk: 776221.

> @ExchangeException should support desired exception type denoted by parameter type
> ----------------------------------------------------------------------------------
>
>                 Key: CAMEL-1626
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-1626
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 2.0-M1
>            Reporter: Claus Ibsen
>            Assignee: Claus Ibsen
>            Priority: Minor
>             Fix For: 2.0.0
>
>
> For instance
> {code}
>         public void handleException(Exchange exchange, @ExchangeException MyCustomException custom) {
> {code}
> Where we have stated that @ExchangeException expects a MyCustomException to be mapped.
> Currently that did not work, you had to define the type as Exception.

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