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 447244 2006-09-18 05:20:40Z mrglavas $
Author:
Andy Clark, IBM

Field Summary

static short
NOT_RECOGNIZED
Exception type: identifier not recognized.
static short
NOT_SUPPORTED
Exception type: identifier not supported.
protected String
fIdentifier
Identifier.
protected short
fType
Exception type.

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

String
getIdentifier()
Returns the feature or property identifier.
short
getType()
Returns the exception type.

Methods inherited from class org.apache.xerces.xni.XNIException

getException

Field Details

NOT_RECOGNIZED

public static final short NOT_RECOGNIZED
Exception type: identifier not recognized.
Field Value:
0

NOT_SUPPORTED

public static final short NOT_SUPPORTED
Exception type: identifier not supported.
Field Value:
1

fIdentifier

protected String fIdentifier
Identifier.

fType

protected short fType
Exception type.

Constructor Details

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.

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.

Method Details

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.