public class

XMLConfigurationException

extends XNIException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ org.apache.xerces.xni.XNIException
           ↳ org.apache.xerces.xni.parser.XMLConfigurationException

Class Overview

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

Summary

Constants
short NOT_RECOGNIZED Exception type: identifier not recognized.
short NOT_SUPPORTED Exception type: identifier not supported.
Fields
protected String fIdentifier Identifier.
protected short fType Exception type.
Public Constructors
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
Public Methods
String getIdentifier()
Returns the feature or property identifier.
short getType()
Returns the exception type.
[Expand]
Inherited Methods
From class org.apache.xerces.xni.XNIException
From class java.lang.Throwable
From class java.lang.Object

Constants

public static final short NOT_RECOGNIZED

Exception type: identifier not recognized.

Constant Value: 0 (0x00000000)

public static final short NOT_SUPPORTED

Exception type: identifier not supported.

Constant Value: 1 (0x00000001)

Fields

protected String fIdentifier

Identifier.

protected short fType

Exception type.

Public Constructors

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.

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.

Public Methods

public String getIdentifier ()

Returns the feature or property identifier.

public short getType ()

Returns the exception type.