IBM WebSphere Application ServerTM
Release 8

com.ibm.events.datastore
Class DuplicateGlobalInstanceIdException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.ibm.events.EventsException
              extended by com.ibm.events.datastore.DataStoreException
                  extended by com.ibm.events.datastore.DuplicateGlobalInstanceIdException
All Implemented Interfaces:
java.io.Serializable

public class DuplicateGlobalInstanceIdException
extends DataStoreException

This exception is thrown when an event is sent to the data store that contains a global instance ID of an event that already exists in the data store.

Since:
5.1.0
Version:
1.3 10/6/13
See Also:
Serialized Form

Constructor Summary
DuplicateGlobalInstanceIdException()
          Constructs a new DuplicateGlobalInstanceIdException
DuplicateGlobalInstanceIdException(java.lang.String globalInstanceId, java.lang.String key, java.lang.String file, java.lang.Object[] parms)
          Constructs a new DuplicateGlobalInstanceIdException with a detailed message and message translation information (resource bundle, message key and message substitutions).
DuplicateGlobalInstanceIdException(java.lang.String globalInstanceId, java.lang.String key, java.lang.String file, java.lang.Object[] parms, java.lang.Throwable cause)
          Constructs a new DuplicateGlobalInstanceIdException with a detailed message, message translation information (resource bundle, message key and message substitutions), and a nested exception.
 
Method Summary
 java.lang.String getDuplicateGlobalInstanceId()
          Returns the duplicate global instance ID that this exception is reporting.
 
Methods inherited from class com.ibm.events.EventsException
getCause, getFile, getKey, getLocalizedMessage, getLocalizedMessage, getMessage, getParms, initCause, printStackTrace, printStackTrace, printStackTrace
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

DuplicateGlobalInstanceIdException

public DuplicateGlobalInstanceIdException()
Constructs a new DuplicateGlobalInstanceIdException


DuplicateGlobalInstanceIdException

public DuplicateGlobalInstanceIdException(java.lang.String globalInstanceId,
                                          java.lang.String key,
                                          java.lang.String file,
                                          java.lang.Object[] parms)
Constructs a new DuplicateGlobalInstanceIdException with a detailed message and message translation information (resource bundle, message key and message substitutions).

Parameters:
globalInstanceId - The duplicate global instance ID that this exception is reporting.
key - The message key.
file - The name of the message file to use.
parms - An array of elements to be inserted into the message.

DuplicateGlobalInstanceIdException

public DuplicateGlobalInstanceIdException(java.lang.String globalInstanceId,
                                          java.lang.String key,
                                          java.lang.String file,
                                          java.lang.Object[] parms,
                                          java.lang.Throwable cause)
Constructs a new DuplicateGlobalInstanceIdException with a detailed message, message translation information (resource bundle, message key and message substitutions), and a nested exception.

Parameters:
globalInstanceId - The duplicate global instance ID that this exception is reporting.
key - The message key.
file - The name of the message file to use.
parms - An array of elements to be inserted into the message.
cause - The nested exception or null if a nested exception is not appropriate.
Method Detail

getDuplicateGlobalInstanceId

public java.lang.String getDuplicateGlobalInstanceId()
Returns the duplicate global instance ID that this exception is reporting.

Returns:
The duplicate global instance ID.

IBM WebSphere Application ServerTM
Release 8