• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Strange Exception less useless, but no less Strange
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Strange Exception less useless, but no less Strange


  • Subject: Re: Strange Exception less useless, but no less Strange
  • From: Andrew Kinnie <email@hidden>
  • Date: Sun, 20 Mar 2005 13:58:43 -0500

Thanks, making that small change did it. I'm not sure why, as it seems to me that there are no nulls, but whatever, it works. Thanks!

Andrew

On Mar 20, 2005, at 1:50 PM, David LeBer wrote:
If it is ever possible that clubName() may be null this will through a NPE. I usually use this syntax in those cases:

if ("A Club Name".equals(club)) {
	//do stuff;
}

;david

--
David LeBer
Senior Systems Developer
PiMedia

_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Strange Exception less useless, but no less Strange (From: Andrew Kinnie <email@hidden>)
 >Re: Strange Exception less useless, but no less Strange (From: David LeBer <email@hidden>)

  • Prev by Date: Re: Strange Exception less useless, but no less Strange
  • Next by Date: Compound primary key generation issue
  • Previous by thread: Re: Strange Exception less useless, but no less Strange
  • Next by thread: Compound primary key generation issue
  • Index(es):
    • Date
    • Thread