The method signature means you are allowed to throw DuplicateKeyException. Does not mean you are required to throw DuplicateKeyException. If you designed or implemented it in a way that such exception never happens, then you won't need to throw it.
SCJD<br />SCJP 1.4
posted 14 years ago
I see, thanks.
All of life is a contant education - Eleanor Roosevelt. Tiny ad: