Class 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:
  • Constructor Details

    • 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 Details

    • 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.