>>"used if the object must not be null and it is" Ummm. Surely thats what the java.lang.NullPointerException is for?
-----Original Message----- From: Jeff Caddel [mailto:[EMAIL PROTECTED]] Sent: Thursday, November 21, 2002 13:32 To: [EMAIL PROTECTED] Subject: [OT] How to tell when a project you are on is in trouble The "architect" of the project a friend of mine is on just unleashed this beauty into the source tree, thought ya'll might get a kick out of it: /** * NullObjectException * * Copyright © 2001,2002 ###### Corp. All rights reserved. * This exception is used if the object must not be null and it is * * @author #### ######### */ public class NullObjectException extends Exception { // Doesn't have to do anything } Note how neatly this disables nested exception handling!!! Pretty nice eh?? ---- Jeff Caddel -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>