So we have:

public void addFieldDesc(FieldDesc field)

and want to do something appropriate when field == null.  Don't many standard Java 
classes (i.e. Hashtable.get()) just throw RuntimeExceptions (i.e. NPE or 
IllegalArgumentException) in cases like this, without explicitly declaring the 
exceptions?  If so, what we were doing (throwing NPE) might be OK... what's the right 
thing to do here?  Glyn, you raised the issue - got thoughts?

--Glen

Reply via email to