org.apache.xerces.xni.parser
Class XMLConfigurationException
public class XMLConfigurationException
An XNI parser configuration exception. This exception class extends
XNIException
in order to differentiate between general
parsing errors and configuration errors.
Version:
- Andy Clark, IBM
XMLConfigurationException(short type, String identifier) - Constructs a configuration exception with the specified type
and feature/property identifier.
|
XMLConfigurationException(short type, String identifier, String message) - Constructs a configuration exception with the specified type,
feature/property identifier, and error message
|
String | getIdentifier() - Returns the feature or property identifier.
|
short | getType() - Returns the exception type.
|
NOT_RECOGNIZED
public static final short NOT_RECOGNIZED
Exception type: identifier not recognized.
- 0
NOT_SUPPORTED
public static final short NOT_SUPPORTED
Exception type: identifier not supported.
- 1
fIdentifier
protected String fIdentifier
Identifier.
fType
protected short fType
Exception type.
XMLConfigurationException
public XMLConfigurationException(short type,
String identifier)
Constructs a configuration exception with the specified type
and feature/property identifier.
type
- The type of the exception.identifier
- The feature or property identifier.
NOT_RECOGNIZED
, NOT_SUPPORTED
XMLConfigurationException
public XMLConfigurationException(short type,
String identifier,
String message)
Constructs a configuration exception with the specified type,
feature/property identifier, and error message
type
- The type of the exception.identifier
- The feature or property identifier.message
- The error message.
NOT_RECOGNIZED
, NOT_SUPPORTED
getIdentifier
public String getIdentifier()
Returns the feature or property identifier.
Copyright B) 1999-2004 Apache XML Project. All Rights Reserved.