org.eclipse.jet.xpath.inspector
Class SimpleElementRequiresValueException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.eclipse.jet.xpath.inspector.SimpleElementRequiresValueException
- All Implemented Interfaces:
- Serializable
- public class SimpleElementRequiresValueException
- extends Exception
Represent at attempt to create a simple Element (one with only text context) without
specifying a value.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
SimpleElementRequiresValueException
public SimpleElementRequiresValueException(Object parentElement,
ExpandedName elementName)
- Construct an exception instance
- Parameters:
parentElement
- the ELEMENT object that would contain the simple element.elementName
- the name of the simple Element whose creation failed.
getParentElement
public final Object getParentElement()
- Returns:
- Returns the parentElement.
getElementName
public final ExpandedName getElementName()
- Returns:
- Returns the elementName.