FileDocCategorySizeDatePackage
XMLConfigurationException.javaAPI DocJava SE 5 API5132Fri Aug 26 14:55:58 BST 2005com.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.4 2002/01/29 01:15:19 lehors Exp $

Fields Summary
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;