public class GCValueNotFoundException extends GCVException
GCVException
thrown when applying GCVs to
an XML document.ERR_BAD_DN_DELIMS, ERR_BAD_DN_FORMAT, ERR_BAD_DN_SPACE, ERR_BAD_RANGE_VALUE, ERR_BAD_XML, ERR_DUPLICATE_ENUM_CHOICE, ERR_DUPLICATE_VALUE_NAME, ERR_HEADER_NOT_ALLOWED_HERE, ERR_INSERTION_POINT_NOT_FOUND, ERR_INVALID_ACTIVE_VALUE, ERR_INVALID_GROUP_LEADER, ERR_INVALID_INSTANCE_COUNT, ERR_INVALID_INSTANCE_VALUE, ERR_INVALID_NAME, ERR_INVALID_TYPE_SPECIFIER, ERR_MISSING_ACTIVE_VALUE, ERR_MISSING_DEFINITIONS_ELEMENT, ERR_MISSING_DISPLAY_NAME, ERR_MISSING_DOCUMENT_ELEMENT, ERR_MISSING_ENUM_CHOICES, ERR_MISSING_INSTANCE_VALUE, ERR_MISSING_TEMPLATE, ERR_MULTIPLE_DEFINITIONS_ELEMENT, ERR_MUST_BE_TRUE_OR_FALSE, ERR_REFERENCE_NOT_ALLOWED_HERE, ERR_SUBORDINATE_NOT_ALLOWED, ERR_TYPE_NOT_ALLOWED_HERE, ERR_VALUE_INCOMPLETE, ERR_VALUE_INVALID_CHAR, ERR_VALUE_NULL, ERR_VALUE_OUT_OF_RANGE, ERR_VALUE_REFERENCE_NOT_FOUND
Constructor and Description |
---|
GCValueNotFoundException(java.lang.String valueName,
org.w3c.dom.Node node)
Construct a
GCValueNotFoundException with the passed value
name, document URI, and line number. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDocumentURI()
Return the document URI associated with this instance, if available.
|
int |
getLineNumber()
Return the document line number associated with this instance, if available.
|
java.lang.String |
getValueName()
Return the value name associated with this instance.
|
getCode, getNode
public GCValueNotFoundException(java.lang.String valueName, org.w3c.dom.Node node)
GCValueNotFoundException
with the passed value
name, document URI, and line number.valueName
- name of GCV that was not found.node
- Node in XML document containing referencepublic java.lang.String getDocumentURI()
null
.public int getLineNumber()
-1
.public java.lang.String getValueName()
getValueName
in class GCVException