|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.xerces.xni.XNIException
org.apache.xerces.xni.parser.XMLConfigurationException
An XNI parser configuration exception. This exception class extends
XNIException
in order to differentiate between general
parsing errors and configuration errors.
Field Summary | |
protected java.lang.String |
fIdentifier
Identifier. |
protected short |
fType
Exception type. |
static short |
NOT_RECOGNIZED
Exception type: identifier not recognized. |
static short |
NOT_SUPPORTED
Exception type: identifier not supported. |
Constructor Summary | |
XMLConfigurationException(short type,
java.lang.String identifier)
Constructs a configuration exception with the specified type and feature/property identifier. |
|
XMLConfigurationException(short type,
java.lang.String identifier,
java.lang.String message)
Constructs a configuration exception with the specified type, feature/property identifier, and error message |
Method Summary | |
java.lang.String |
getIdentifier()
Returns the feature or property identifier. |
short |
getType()
Returns the exception type. |
Methods inherited from class org.apache.xerces.xni.XNIException |
getCause, getException, initCause |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final short NOT_RECOGNIZED
public static final short NOT_SUPPORTED
protected short fType
protected java.lang.String fIdentifier
Constructor Detail |
public XMLConfigurationException(short type, java.lang.String identifier)
type
- The type of the exception.identifier
- The feature or property identifier.NOT_RECOGNIZED
,
NOT_SUPPORTED
public XMLConfigurationException(short type, java.lang.String identifier, java.lang.String message)
type
- The type of the exception.identifier
- The feature or property identifier.message
- The error message.NOT_RECOGNIZED
,
NOT_SUPPORTED
Method Detail |
public short getType()
NOT_RECOGNIZED
,
NOT_SUPPORTED
public java.lang.String getIdentifier()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |