IBM WebSphere Application ServerTM
Release 8

com.ibm.events.datastore
Class SeverityAlreadySetException

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.SeverityAlreadySetException
All Implemented Interfaces:
java.io.Serializable

public class SeverityAlreadySetException
extends com.ibm.events.datastore.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.2 10/6/13
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.

IBM WebSphere Application ServerTM
Release 8