On Sep 3, 2007, at 7:07 AM, Hadrian Zbarcea wrote:
On the CAMEL-84 topic, I think returning null is a valid normal case, not an exceptional one. If a null is an acceptable answer is imho for the caller to decide (which is what the JournalEndpoint in jpa does already).
Actually, the exception is what makes NULL a valid value. If NULL can be both a valid value and no-conversion-available, you caannot know which one it is.
If the journal or jpa decide to return null for correct reasons (I am curious when this would be correct, but that is a tangent) then they may throw an exception in the case where they couldn't convert. Now you get both worlds.
-Brian
