"Craig R. McClanahan" wrote:
> 
> A Struts user has pointed out that if you call something like:
> 
>   String name = PropertyUtils.getSimpleProperty(null, "name");
> 
> you will receive a somewhat misleading NoSuchMethodException with the text
> "Unknown property 'name'".
> 
> 
> (2) Throw IllegalArgumentException because bean is null
> 

+1

That keeps it clear

geir

-- 
Geir Magnusson Jr.                           [EMAIL PROTECTED]
System and Software Consulting
Developing for the web?  See http://jakarta.apache.org/velocity/
"still climbing up to the shoulders..."

Reply via email to