File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
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.
I agree. Here's the link:
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-2015