I see that RuleBase.addPackage throws java.lang.Exception.  Is there some way
that this can be tightened up a bit?  I hate having to catch Exception, since
you never know what sort of thing you're getting with that.

I've always read that you should never catch Exception, but should instead
catch the specific subclasses that you know how to handle.  The signature of
addPackage() makes that impossible, so now I have to contend with everything
from a badly constructed rule to a NullPointerException.

-- 
Dirk Bergstrom               [EMAIL PROTECTED]
_____________________________________________
Juniper Networks Inc.,          Computer Geek
Tel: 408.745.3182           Fax: 408.745.8905

---------------------------------------------------------------------
To unsubscribe from this list please visit:

    http://xircles.codehaus.org/manage_email

Reply via email to