org.apache.xerces.xni.parser

Class XMLConfigurationException

public class XMLConfigurationException extends XNIException

An XNI parser configuration exception. This exception class extends XNIException in order to differentiate between general parsing errors and configuration errors.

Version: $Id: XMLConfigurationException.java,v 1.6 2004/08/15 21:22:15 mrglavas Exp $

Author: Andy Clark, IBM

Field Summary
protected StringfIdentifier
Identifier.
protected shortfType
Exception type.
static shortNOT_RECOGNIZED
Exception type: identifier not recognized.
static shortNOT_SUPPORTED
Exception type: identifier not supported.
Constructor Summary
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
Method Summary
StringgetIdentifier()
Returns the feature or property identifier.
shortgetType()
Returns the exception type.

Field Detail

fIdentifier

protected String fIdentifier
Identifier.

fType

protected short fType
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.

Constructor Detail

XMLConfigurationException

public XMLConfigurationException(short type, String identifier)
Constructs a configuration exception with the specified type and feature/property identifier.

Parameters: type The type of the exception. identifier The feature or property identifier.

See Also: 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

Parameters: type The type of the exception. identifier The feature or property identifier. message The error message.

See Also: NOT_RECOGNIZED NOT_SUPPORTED

Method Detail

getIdentifier

public String getIdentifier()
Returns the feature or property identifier.

getType

public short getType()
Returns the exception type.

See Also: NOT_RECOGNIZED NOT_SUPPORTED

Copyright B) 1999-2005 Apache XML Project. All Rights Reserved.