You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@camel.apache.org by "James Strachan (JIRA)" <ji...@apache.org> on 2007/08/20 19:53:22 UTC

[jira] Commented: (CAMEL-84) Throw Useful Exception on No TypeConverter Available

    [ https://issues.apache.org/activemq/browse/CAMEL-84?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_39984 ] 

James Strachan commented on CAMEL-84:
-------------------------------------

Hadrian - I'm thinking this should be more at the runtime level rather than the java-dsl-creation of the route definition. Am also wondering about consistency. If we throw exceptions in the convertBody(Type) DSL entry, we should be consistent - should we also throw checked exceptions on the TypeConverter API too?

> Throw Useful Exception on No TypeConverter Available
> ----------------------------------------------------
>
>                 Key: CAMEL-84
>                 URL: https://issues.apache.org/activemq/browse/CAMEL-84
>             Project: Apache Camel
>          Issue Type: Improvement
>          Components: camel-core
>    Affects Versions: 1.0.0
>            Reporter: Brian McCallister
>            Assignee: Hadrian Zbarcea
>             Fix For: 1.2.0
>
>         Attachments: camel-84.patch
>
>
> When there is no type converter available an NPE is thrown that requires tracing through sources to find root of problem

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