Package org.kuali.rice.kew.api.exception
Class InvalidParentDocTypeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.kuali.rice.core.api.util.xml.XmlException
org.kuali.rice.kew.api.exception.InvalidParentDocTypeException
- All Implemented Interfaces:
Serializable
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 Summary
ConstructorsConstructorDescriptionInvalidParentDocTypeException(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
Modifier and TypeMethodDescriptionRetrieves the name of the child document type that depends on the given parent.Retrieves the name of the parent document type that has not been processed yet.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidParentDocTypeException
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
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
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
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
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.
-