|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.novell.nds.dirxml.engine.gcv.GCVException
com.novell.nds.dirxml.engine.gcv.GCValueParseException
public class GCValueParseException
Derivative of GCVException thrown when the lexical representation
of a value does not parse correctly.
If the character position of the error can be determined it is
available through getErrIndex().
| Field Summary |
|---|
| Constructor Summary | |
|---|---|
GCValueParseException(int code)
Construct a GCValueParseException with the passed code. |
|
GCValueParseException(int code,
GCValue value)
Construct a GCValueParseException with the passed code. |
|
GCValueParseException(int code,
int errIndex)
Construct a GCValueParseException with the passed code
and index into the value string. |
|
GCValueParseException(int code,
int errIndex,
GCValue value)
Construct a GCValueParseException with the passed code
and index into the value string. |
|
| Method Summary | |
|---|---|
int |
getErrIndex()
Return the character position of the lexical error, if available. |
| Methods inherited from class com.novell.nds.dirxml.engine.gcv.GCVException |
|---|
getCode, getNode, getValueName |
| 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 |
|---|
public GCValueParseException(int code)
GCValueParseException with the passed code.
code - value from GCVException.
public GCValueParseException(int code,
GCValue value)
GCValueParseException with the passed code.
code - value from GCVException.value - GCValue generating this exception.
public GCValueParseException(int code,
int errIndex)
GCValueParseException with the passed code
and index into the value string.
code - value from GCVException.errIndex - character position of lexical error.
public GCValueParseException(int code,
int errIndex,
GCValue value)
GCValueParseException with the passed code
and index into the value string.
code - value from GCVException.errIndex - character position of lexical error.value - GCValue generating this exception.| Method Detail |
|---|
public int getErrIndex()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||