IBM WebSphere Extended Deployment (XD)TM
Release 6.0.1

com.ibm.websphere.objectgrid
DuplicateKeyException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.ibm.websphere.objectgrid.ObjectGridException
                    |
                    +--com.ibm.websphere.objectgrid.DuplicateKeyException


A DuplicateKeyException exception is thrown if a key cannot be inserted into a BackingMap because an object with the same key already exists.


Constructor Summary
DuplicateKeyException()
           Constructs a new DuplicateKeyException with null as its detail message.
DuplicateKeyException(java.lang.String)
           Constructs a new DuplicateKeyException with the specified detail message. The.
DuplicateKeyException(java.lang.String, java.lang.Throwable)
           Constructs a new DuplicateKeyException with the specified detail message and cause.
DuplicateKeyException(java.lang.Throwable)
           Constructs a new DuplicateKeyException with a specified cause..

Inherited Methods

Methods inherited from com.ibm.websphere.objectgrid.ObjectGridException
getCause, initCause, printStackTrace, printStackTrace, printStackTrace
Methods inherited from java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, setStackTrace, toString
Methods inherited from java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail

DuplicateKeyException

public DuplicateKeyException( )
Constructs a new DuplicateKeyException with null as its detail message. The cause is not initialized, and may subsequently be initialized by a call to java.lang.Throwable#initCause.


DuplicateKeyException

public DuplicateKeyException( String message)
Constructs a new DuplicateKeyException with the specified detail message. The cause is not initialized, and may subsequently be initialized by a call to java.lang.Throwable#initCause.
Parameters:
message - the detail message. The detail message is saved for later retrieval by the #getMessage()method.


DuplicateKeyException

public DuplicateKeyException( String message,Throwable cause)
Constructs a new DuplicateKeyException with the specified detail message and cause.

Note that the detail message associated with cause is not automatically incorporated in this DuplicateKeyException's detail message.

Parameters:
message - the detail message (which is saved for later retrieval by the #getMessage()method).
cause - the cause (which is saved for later retrieval by the #getCause()method). (Anull value is permitted, and indicates that the cause is nonexistent or unknown.)


DuplicateKeyException

public DuplicateKeyException( Throwable cause)
Constructs a new DuplicateKeyException with a specified cause. The cause and a detail message of (cause==null ? null : cause.toString()) is used (which typically contains the class and detail message of cause). This constructor is useful for DuplicateKeyExceptions that are little more than wrappers for other throwables.
Parameters:
cause - is the exception that caused this exception to be thrown, which is saved for later retrieval by the #getCause() method. A null value is permitted and indicates that the cause is nonexistent or is unknown.


IBM WebSphere Extended Deployment (XD)TM
Release 6.0.1