camel-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Claus Ibsen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (CAMEL-410) Exception handling of the ErrorHandlerSupport class
Date Thu, 03 Apr 2008 18:10:32 GMT

    [ https://issues.apache.org/activemq/browse/CAMEL-410?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=41996#action_41996
] 

Claus Ibsen commented on CAMEL-410:
-----------------------------------

Dan, thanks for the new attachment. I can reproduce the bug here. Camel pick ups java.lang.Exception
at first even though there is a exact match such as NPE.

> Exception handling of the ErrorHandlerSupport class
> ---------------------------------------------------
>
>                 Key: CAMEL-410
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-410
>             Project: Apache Camel
>          Issue Type: Bug
>          Components: camel-core
>    Affects Versions: 1.2.0, 1.3.0
>            Reporter: Dan Dudley
>            Assignee: Claus Ibsen
>             Fix For: 1.4.0
>
>         Attachments: BaseRouteBuilder.java, ErrorHandlerSupportTest.java, patch.txt
>
>
> When you configure your route builder and say you want to configure two exceptions lets
say: NullPointer and Exception. 
> Now say the bean you call as your end point throws a NullPointer, wouldn't you think
the NullPointer policy would handle that exception? 
> Well I'm seeing sometimes it does and sometimes it doesn't due to the map not keeping
the exceptions in any particular order.  Is there anyway this could be changed to a LinkedHashMap
or a List?
> Issue with class: org.apache.camel.processor.ErrorHandlerSupport

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


Mime
View raw message