org.kuali.rice.kew.api.exception
Class InvalidParentDocTypeException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.kuali.rice.core.api.util.xml.XmlException
                  extended by org.kuali.rice.kew.api.exception.InvalidParentDocTypeException
All Implemented Interfaces:
Serializable

public class InvalidParentDocTypeException
extends XmlException

This error is thrown whenever a child document type is trying to be processed before its parent document type has been parsed; this provides a means for delaying the processing of child doc types until their parents are parsed.

Author:
Kuali Rice Team (rice.collab@kuali.org)
See Also:
Serialized Form

Constructor Summary
InvalidParentDocTypeException(String docParent, String docChild)
          Constructs an InvalidParentDocTypeException, given a document type parent name and a child name.
InvalidParentDocTypeException(String docParent, String docChild, String message)
          Constructs an InvalidParentDocTypeException, given a document type parent name, a child name, and an error message.
InvalidParentDocTypeException(String docParent, String docChild, String message, Throwable throwable)
          Constructs an InvalidParentDocTypeException, given a document type parent name, a child name, an error message, and a cause.
InvalidParentDocTypeException(String docParent, String docChild, Throwable throwable)
          Constructs an InvalidParentDocTypeException, given a document type parent name, a child name, and a cause.
 
Method Summary
 String getChildName()
          Retrieves the name of the child document type that depends on the given parent.
 String getParentName()
          Retrieves the name of the parent document type that has not been processed yet.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvalidParentDocTypeException

public InvalidParentDocTypeException(String docParent,
                                     String docChild)
Constructs an InvalidParentDocTypeException, given a document type parent name and a child name.

Parameters:
docParent - The name of the unprocessed document type parent.
docChild - The name of the unprocessed document type child.

InvalidParentDocTypeException

public InvalidParentDocTypeException(String docParent,
                                     String docChild,
                                     String message)
Constructs an InvalidParentDocTypeException, given a document type parent name, a child name, and an error message.

Parameters:
docParent - The name of the unprocessed document type parent.
docChild - The name of the unprocessed document type child.
message - The error message.

InvalidParentDocTypeException

public InvalidParentDocTypeException(String docParent,
                                     String docChild,
                                     String message,
                                     Throwable throwable)
Constructs an InvalidParentDocTypeException, given a document type parent name, a child name, an error message, and a cause.

Parameters:
docParent - The name of the unprocessed document type parent.
docChild - The name of the unprocessed document type child.
message - The error message.
throwable - The cause.

InvalidParentDocTypeException

public InvalidParentDocTypeException(String docParent,
                                     String docChild,
                                     Throwable throwable)
Constructs an InvalidParentDocTypeException, given a document type parent name, a child name, and a cause.

Parameters:
docParent - The name of the unprocessed document type parent.
docChild - The name of the unprocessed document type child.
throwable - The cause.
Method Detail

getParentName

public String getParentName()
Retrieves the name of the parent document type that has not been processed yet.

Returns:
The name of the unprocessed document type parent, which may or may not be null.

getChildName

public String getChildName()
Retrieves the name of the child document type that depends on the given parent.

Returns:
The name of the unprocessed document type child, which may or may not be null.


Copyright © 2005-2013 The Kuali Foundation. All Rights Reserved.