com.novell.nds.dirxml.engine.gcv
Class GCValueNotFoundException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.novell.nds.dirxml.engine.gcv.GCVException
              extended bycom.novell.nds.dirxml.engine.gcv.GCValueNotFoundException
All Implemented Interfaces:
Serializable

public class GCValueNotFoundException
extends GCVException

Derivative of GCVException thrown when applying GCVs to an XML document.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class com.novell.nds.dirxml.engine.gcv.GCVException
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_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_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 Summary
GCValueNotFoundException(String valueName, Node node)
          Construct a GCValueNotFoundException with the passed value name, document URI, and line number.
 
Method Summary
 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.
 String getValueName()
          Return the value name associated with this instance.
 
Methods inherited from class com.novell.nds.dirxml.engine.gcv.GCVException
getCode, getNode
 
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
 

Constructor Detail

GCValueNotFoundException

public GCValueNotFoundException(String valueName,
                                Node node)
Construct a GCValueNotFoundException with the passed value name, document URI, and line number.

Parameters:
valueName - name of GCV that was not found.
node - Node in XML document containing reference
Method Detail

getDocumentURI

public String getDocumentURI()
Return the document URI associated with this instance, if available.

Returns:
document URI or null.

getLineNumber

public int getLineNumber()
Return the document line number associated with this instance, if available.

Returns:
line number or -1.

getValueName

public String getValueName()
Return the value name associated with this instance.

Overrides:
getValueName in class GCVException
Returns:
value name