Re: Exceptions no longer incur overhead?
- From: Matthias Buelow <mkb@xxxxxxxxxx>
- Date: Sat, 30 Jun 2007 02:39:20 +0200
void.no.spam.com@xxxxxxxxx wrote:
One of our classes has a method to look up an object. If the object
does not exist, it throws an exception to indicate that.
Just for clarity, a negative search is not an exceptional condition but
a permissible result, so it's probably better to return null.
.
- References:
- Exceptions no longer incur overhead?
- From: void.no.spam.com@xxxxxxxxx
- Exceptions no longer incur overhead?
- Prev by Date: Re: New Java Site
- Next by Date: Re: Launch a new java app from a java program
- Previous by thread: Re: Exceptions no longer incur overhead?
- Index(es):