com.ibm.events.catalog
Class ParentNotValidException

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

public class ParentNotValidException
extends CatalogException

Thrown when an attempt is made to add an event definition to the event catalog that does not name a valid parent. This can occur in the following situations:

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

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

ParentNotValidException

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