camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Cristiano Costantini <cristiano.costant...@gmail.com>
Subject Which exception on a bad conversion in a TypeConverter?
Date Fri, 30 Aug 2013 12:24:54 GMT
Hi all,

Which Exception should I use when I can't convert something in a
TypeConverter?

I was throwing a  org.apache.camel.NoTypeConversionAvailableException,
but this is used when no type converter exists.

Is there an appropriate exception recommended to be used?

thank you!
Cristiano

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message