IBM WebSphere Application ServerTM
Release 8

com.ibm.events.catalog
Class EventDefinitionExistsException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.ibm.events.EventsException
              extended by com.ibm.events.catalog.CatalogException
                  extended by com.ibm.events.catalog.EventDefinitionExistsException
All Implemented Interfaces:
java.io.Serializable

public class EventDefinitionExistsException
extends CatalogException

Thrown when an attempt is made to add an event definition to the event catalog and an event definition of the same name already exists but the replace flag was set to false.

Since:
5.1.0
Version:
1.2 11/4/05
See Also:
Serialized Form

Constructor Summary
EventDefinitionExistsException(EventDefinition definition, java.lang.String key, java.lang.String file, java.lang.Object[] parms)
          Constructs a new EventDefinitionExistsException with a reference to the event definition that was being added.
 
Method Summary
 EventDefinition getEventDefinition()
          Returns the event definition that was being added when the exception was thrown.
 
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

EventDefinitionExistsException

public EventDefinitionExistsException(EventDefinition definition,
                                      java.lang.String key,
                                      java.lang.String file,
                                      java.lang.Object[] parms)
Constructs a new EventDefinitionExistsException with a reference to the event definition that was being added. See EventsException.EventsException(String, String, Object[]) for more information.

Parameters:
definition - The event definition that was being added.
key - The message key.
file - The name of the message file to use.
parms - An array of elements to be inserted into the message.
Method Detail

getEventDefinition

public EventDefinition getEventDefinition()
Returns the event definition that was being added when the exception was thrown.

Returns:
The event definition.

IBM WebSphere Application ServerTM
Release 8