Pierre van Rooden wrote:
> Michiel Meeuwissen wrote:
> >So what more should be done. Pick your pick.
> >- Make the behaviour configurable
>
> The simplest way fotr people to move to the new version. A setting
> (property?) in mmbaseroot or the builder(s), perhaps?
>
> >- More suggestions/ideas?
>
> I would prefer a NotFoundException over an Illegal Argument exception,
> because the field is not found (does not exist).
So, using it as an argument is illegal, isn't it. I think it is a
detail. What arguments against NFE ('This exception gets thrown when an
object is not found in the bridge.') is that it is a bridge exception,
and using it core is a bit odd. IAE ('Thrown to indicate that a method
has been passed an illegal or inappropriate argument.') seemed
completely appropriate to me.
Michiel
--
Michiel Meeuwissen mihxil'
Peperbus 111 MediaPark H'sum [] ()
+31 (0)35 6772979 nl_NL eo_XX en_US
_______________________________________________
Developers mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/developers