FileDocCategorySizeDatePackage
XMLConfigurationException.javaAPI DocJava SE 6 API3169Tue Jun 10 00:22:54 BST 2008com.sun.org.apache.xerces.internal.xni.parser

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.
author
Andy Clark, IBM
version
$Id: XMLConfigurationException.java,v 1.2.6.1 2005/09/06 05:38:25 neerajbj Exp $

Fields Summary
static final long
serialVersionUID
Serialization version.
public static final short
NOT_RECOGNIZED
Exception type: identifier not recognized.
public static final short
NOT_SUPPORTED
Exception type: identifier not supported.
protected short
fType
Exception type.
protected String
fIdentifier
Identifier.
Constructors Summary
public XMLConfigurationException(short type, String identifier)
Constructs a configuration exception with the specified type and feature/property identifier.

param
type The type of the exception.
param
identifier The feature or property identifier.
see
#NOT_RECOGNIZED
see
#NOT_SUPPORTED


    //
    // Constructors
    //

                                             
         
        super(identifier);
        fType = type;
        fIdentifier = identifier;
    
public XMLConfigurationException(short type, String identifier, String message)
Constructs a configuration exception with the specified type, feature/property identifier, and error message

param
type The type of the exception.
param
identifier The feature or property identifier.
param
message The error message.
see
#NOT_RECOGNIZED
see
#NOT_SUPPORTED

        super(message);
        fType = type;
        fIdentifier = identifier;
    
Methods Summary
public java.lang.StringgetIdentifier()
Returns the feature or property identifier.

        return fIdentifier;
    
public shortgetType()
Returns the exception type.

see
#NOT_RECOGNIZED
see
#NOT_SUPPORTED

        return fType;