Overview | Package | Class | Tree | Serialized | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.apache.xerces.xni.parser
Class XMLConfigurationException

    java.lang.Object
      |
      +--java.lang.Throwable
            |
            +--java.lang.Exception
                  |
                  +--java.lang.RuntimeException
                        |
                        +--org.apache.xerces.xni.XNIException
                              |
                              +--org.apache.xerces.xni.parser.XMLConfigurationException

All Implemented Interfaces:
  java.io.Serializable

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.4 2002/01/29 01:15:19 lehors Exp $
Author:
  Andy Clark, IBM
See Also:
  Serialized Form

Field Summary
`protected java.lang.String` | `fIdentifier` Identifier.
`protected short` | `fType` Exception type.
`static short` | `NOT_RECOGNIZED` Exception type: identifier not recognized.
`static short` | `NOT_SUPPORTED` Exception type: identifier not supported.

Constructor Summary
`XMLConfigurationException(short type, java.lang.String identifier)` Constructs a configuration exception with the specified type and feature/property identifier.
`XMLConfigurationException(short type, java.lang.String identifier, java.lang.String message)` Constructs a configuration exception with the specified type, feature/property identifier, and error message

Method Summary
`java.lang.String` | `getIdentifier()` Returns the feature or property identifier.
`short` | `getType()` Returns the exception type.

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

Methods inherited from class java.lang.Throwable
`fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString`

Methods inherited from class java.lang.Object
`clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait`

Field Detail

### 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.

### fType

    protected short fType

  Exception type.

### fIdentifier

    protected java.lang.String fIdentifier

  Identifier.

Constructor Detail

### XMLConfigurationException

    public XMLConfigurationException(short type,
                                     java.lang.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,
                                     java.lang.String identifier,
                                     java.lang.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

### getType

    public short getType()

  Returns the exception type.
  See Also:
    `NOT_RECOGNIZED`, `NOT_SUPPORTED`

### getIdentifier

    public java.lang.String getIdentifier()

  Returns the feature or property identifier.

Overview | Package | Class | Tree | Serialized | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

Copyright © 1999-2004 Apache XML Project. All Rights Reserved.