com.ibm.events.datastore
Class SeverityAlreadySetException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.ibm.events.EventsException
              extended bycom.ibm.events.datastore.DataStoreException
                  extended bycom.ibm.events.datastore.SeverityAlreadySetException
All Implemented Interfaces:
java.io.Serializable

public class SeverityAlreadySetException
extends DataStoreException

This exception is thrown when an event update request is sent to the data store to modify the severity attribute when the severity attribute is already set.

Since:
6.0.0
Version:
1.3 5/7/07
See Also:
Serialized Form

Constructor Summary
SeverityAlreadySetException(java.lang.String globalInstanceId, java.lang.String key, java.lang.String file, java.lang.Object[] parms)
          Constructs a new SeverityAlreadySetException with a detailed message and message translation information (resource bundle, message key and message substitutions).
SeverityAlreadySetException(java.lang.String globalInstanceId, java.lang.String key, java.lang.String file, java.lang.Object[] parms, java.lang.Throwable cause)
          Constructs a new SeverityAlreadySetException with a detailed message, message translation information (resource bundle, message key and message substitutions), and a nested exception.
 
Method Summary
 java.lang.String getGlobalInstanceId()
          Returns the global instance ID for the event 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

SeverityAlreadySetException

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

Parameters:
globalInstanceId - The 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.

SeverityAlreadySetException

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

Parameters:
globalInstanceId - The 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

getGlobalInstanceId

public java.lang.String getGlobalInstanceId()
Returns the global instance ID for the event that this exception is reporting.

Returns:
The global instance ID.