com.ibm.events.catalog
Class InheritanceNotValidException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--com.ibm.events.EventsException
                    |
                    +--com.ibm.events.catalog.CatalogException
                          |
                          +--com.ibm.events.catalog.InheritanceNotValidException
All Implemented Interfaces:
java.io.Serializable

public class InheritanceNotValidException
extends CatalogException

Thrown when an attempt is made to add an event definition to the event catalog that violates the event definition inheritance rules.

Since:
5.1.0
Version:
1.7 6/9/04
See Also:
Serialized Form

Constructor Summary
InheritanceNotValidException(EventDefinition definition, java.lang.String key, java.lang.String file, java.lang.Object[] parms)
          Constructs a new InheritanceNotValidException 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, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InheritanceNotValidException

public InheritanceNotValidException(EventDefinition definition,
                                    java.lang.String key,
                                    java.lang.String file,
                                    java.lang.Object[] parms)
Constructs a new InheritanceNotValidException 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.