FileDocCategorySizeDatePackage
DuplicateKeyException.javaAPI DocGlassfish v2 API2588Fri May 04 22:35:54 BST 2007javax.ejb

DuplicateKeyException

public class DuplicateKeyException extends CreateException
The DuplicateKeyException exception is thrown if an entity EJB object cannot be created because an object with the same key already exists. This exception is thrown by the create methods defined in an entity Bean's home interface.

Fields Summary
Constructors Summary
public DuplicateKeyException()
Constructs a DuplicateKeyException with no detail message.

    
public DuplicateKeyException(String message)
Constructs a DuplicateKeyException with the specified detail message.

        super(message);
    
Methods Summary