org.eclipse.jet.xpath.inspector
Class InvalidChildException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.eclipse.jet.xpath.inspector.InvalidChildException
- All Implemented Interfaces:
- java.io.Serializable
- public class InvalidChildException
- extends java.lang.Exception
Represent an inconsistency between at child element's parent, and its parent as specified
in a method call.
- See Also:
- Serialized Form
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 |
InvalidChildException
public InvalidChildException(java.lang.Object parentElement,
ExpandedName elementName,
java.lang.Object childElement)
- Create an exception instance
- Parameters:
parentElement
- the parent ElementelementName
- the element namechildElement
- the child element that does not have parentElement as its parent.
getChildElement
public final java.lang.Object getChildElement()
- Returns:
- Returns the childElement.
getElementName
public final ExpandedName getElementName()
- Returns:
- Returns the elementName.
getParentElement
public final java.lang.Object getParentElement()
- Returns:
- Returns the parentElement.