I've added:

<li>the class will not be final</li>
<li>methods should generally be 'nice' and 'quiet'.  That is, they should
suppress Exceptions when sensible. </li>

as rules for XxxUtils and also:

<h4>Exception throwing</h4>
<p>When throwing an exception to indicate a bad argument, always throw
IllegalArgumentException, even if the argument was null. Do not throw
NullPointerException. </p>


Is the 'nice' and 'quiet' one okay? Or should I ignore it because there
are times when XxxUtils might want to throw Exceptions. ie) JdbcUtils
would throw SQLException from everything and IOUtils should throw
IOException from everything.

Hen


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to