[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index] [Home]

Re: NullPointerException


On Fri, Sep 11 1998, Tomas Fasth wrote:
> As a curious matter, something seem less than optimal when a null pointer
> exception occurs. And I who thought null pointer bugs became obsolete in
> Java code. Is there possibly a former C programmer luring behind the
> curtains? ;-)

Java has the concept of a null object and specifically defines 'null'.
Thus, NullPointerException is an inevitability.

Oh, sure, I could just write perfect code, but where,
then, would be the excitement? 8^)

I have fixed the code.

tim.
Tim Endres, ICE Engineering, Inc.
   mailto: time@ice.com    http://www.ice.com
   "Usenet - A slow moving self parody." -- Peter Honeyman