A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Developer Certification (SCJD/OCMJD)
NX: When should I throw DuplicateKeyException?
Joined: Nov 03, 2003
Jan 14, 2004 16:19:00
In which method?
[SCJP 1.2, SCJD, SCWCD]
Joined: Nov 17, 2002
Jan 14, 2004 16:58:00
If you have a create method, that's the place you will have to throw this exception. Check the interface provided by SUN. The Create method might be throwing this exception already.
Manoj<br />SCJP, SCJD, SCWCD, IBM WSAD.
It is sorta covered in the
JavaRanch Style Guide
subject: NX: When should I throw DuplicateKeyException?
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013