You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by Jeff Caddel <jc...@cox.net> on 2002/11/21 06:32:24 UTC
[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: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>
RE: [OT] How to tell when a project you are on is in trouble
Posted by Andrew Hill <an...@gridnode.com>.
>>"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:jcaddel@cox.net]
Sent: Thursday, November 21, 2002 13:32
To: struts-user@jakarta.apache.org
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:
<ma...@jakarta.apache.org>
For additional commands, e-mail:
<ma...@jakarta.apache.org>
--
To unsubscribe, e-mail: <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>