java.io.Serializable
public class XMLConfigurationException extends XNIException
XNIException
in order to differentiate between general
parsing errors and configuration errors.Modifier and Type | Field | Description |
---|---|---|
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 | Description |
---|---|
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
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getIdentifier() |
Returns the feature or property identifier.
|
short |
getType() |
Returns the exception type.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
getCause, getException, initCause
public static final short NOT_RECOGNIZED
public static final short NOT_SUPPORTED
protected short fType
protected java.lang.String fIdentifier
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
public short getType()
NOT_RECOGNIZED
,
NOT_SUPPORTED
public java.lang.String getIdentifier()
Copyright © 1999-2010 The Apache Software Foundation. All Rights Reserved.