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.
Did you see how Paul
cut 87% off of his electric heat bill with 82 watts of micro heaters
subject: NX: When should I throw DuplicateKeyException?
NX: 5 problems about Data.java
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014