com.ibm.events.catalog

Class 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:
    • The event definition names as its parent an event definition that does not exist in the event catalog.
    • The event definition is a root (it names no parent) but a root event definition already exists in the event catalog.
    • An existing event definition of the same name is being replaced and the parent named in the replacement is not the parent of the existing event definition. In other words, an attempt is being made to place the event definition at a different point in the hierarchy.
    Since:
    5.1.0
    Version:
    1.2 11/4/05
    See Also:
    Serialized Form
    • 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.
IBM Business Process ManagerTM
Release 8