Home » openejb-3.1.2-src » javax » ejb » [javadoc | source]
javax.ejb
public class: DuplicateKeyException [javadoc | source]
java.lang.Object
   java.lang.Throwable
      java.lang.Exception
         javax.ejb.CreateException
            javax.ejb.DuplicateKeyException

All Implemented Interfaces:
    Serializable

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 enterprise Bean's home interface.
Fields inherited from java.lang.Exception:
serialVersionUID
Constructor:
 public DuplicateKeyException() 
 public DuplicateKeyException(String message) 
    Constructs an DuplicateKeyException with the specified detail message.
    Parameters:
    message - - The detailed message
Methods from java.lang.Throwable:
fillInStackTrace,   getCause,   getLocalizedMessage,   getMessage,   getStackTrace,   initCause,   printStackTrace,   printStackTrace,   printStackTrace,   setStackTrace,   toString
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait