com.ibm.events.datastore
Class DuplicateGlobalInstanceIdException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--com.ibm.events.EventsException
|
+--com.ibm.events.datastore.DataStoreException
|
+--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.9 6/9/04
- See Also:
- Serialized Form
Constructor Summary |
DuplicateGlobalInstanceIdException()
Constructs a new DuplicateGlobalInstanceIdException |
DuplicateGlobalInstanceIdException(java.lang.String key,
java.lang.String file,
java.lang.Object[] parms)
Deprecated. Use a constructor that takes the global instance ID. |
DuplicateGlobalInstanceIdException(java.lang.String key,
java.lang.String file,
java.lang.Object[] parms,
java.lang.Throwable cause)
Deprecated. Use a constructor that takes the global instance ID. |
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. |
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, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DuplicateGlobalInstanceIdException
public DuplicateGlobalInstanceIdException()
- Constructs a new
DuplicateGlobalInstanceIdException
DuplicateGlobalInstanceIdException
public DuplicateGlobalInstanceIdException(java.lang.String key,
java.lang.String file,
java.lang.Object[] parms)
- Deprecated. Use a constructor that takes the global instance ID.
- Constructs a new
DuplicateGlobalInstanceIdException
with a
detailed message and message translation information (resource bundle,
message key and message substitutions).
- Parameters:
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 key,
java.lang.String file,
java.lang.Object[] parms,
java.lang.Throwable cause)
- Deprecated. Use a constructor that takes the global instance ID.
- Constructs a new
DuplicateGlobalInstanceIdException
with a
detailed message, message translation information (resource bundle,
message key and message substitutions), and a nested exception.
- Parameters:
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.
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.
getDuplicateGlobalInstanceId
public java.lang.String getDuplicateGlobalInstanceId()
- Returns the duplicate global instance ID that this exception
is reporting.
- Returns:
- The duplicate global instance ID.