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.
$Id: XMLConfigurationException.java 447244 2006-09-18 05:20:40Z mrglavas $
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.
NOT_SUPPORTED
public static final short NOT_SUPPORTED
Exception type: identifier not supported.
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.
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.
getIdentifier
public String getIdentifier()
Returns the feature or property identifier.
getType
public short getType()
Returns the exception type.
Copyright B) 1999-2007 The Apache Software Foundation. All Rights Reserved.