Name
DuplicateKeyException
Synopsis
This extension of the CreateException
is thrown is a client attempts
to create an entity bean using a primary key which matches the key of
an existing entity bean of the same type.
public class DuplicateKeyException extends CreateException { // Public Constructors public DuplicateKeyException(); public DuplicateKeyException( String message); }
Get Java Enterprise in a Nutshell, Second Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.