You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jackrabbit.apache.org by Julian Reschke <ju...@gmx.de> on 2008/06/24 11:57:14 UTC
Values vs null
Hi,
I just noticed that the jcr-commons Value implementations (such as
DoubleValue) seems to allow constructing Value objects where the
internal value is null, and then consequently throw Exceptions when an
attempt is made to retrieve the value.
Shouldn't these fail early instead (when constructing the Value)?
BR, Julian