Top Description Fields Constructors Methods
org.apache.xerces.xni.parser

public Class XMLConfigurationException

extends XNIException
Class Inheritance
Imports
org.apache.xerces.xni.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 447244 2006-09-18 05:20:40Z mrglavas $

Field Summary

Modifier and TypeField and Description
protected String
fIdentifier

Identifier.

protected short
fType

Exception type.

public static final short
NOT_RECOGNIZED

Exception type: identifier not recognized.

public static final short
NOT_SUPPORTED

Exception type: identifier not supported.

pack-priv static final long

Constructor Summary

AccessConstructor and Description
public
XMLConfigurationException(short
The type of the exception.
type
,
String
The feature or property identifier.
identifier
)

Constructs a configuration exception with the specified type and feature/property identifier.

public
XMLConfigurationException(short
The type of the exception.
type
,
String
The feature or property identifier.
identifier
,
String
The error message.
message
)

Constructs a configuration exception with the specified type, feature/property identifier, and error message

Method Summary

Modifier and TypeMethod and Description
public String
getIdentifier()

Returns the feature or property identifier.

public short
getType()

Returns the exception type.

Inherited from org.apache.xerces.xni.XNIException:
getCausegetExceptioninitCause

Field Detail

fIdentifierback to summary
protected String fIdentifier

Identifier.

fTypeback to summary
protected short fType

Exception type.

NOT_RECOGNIZEDback to summary
public static final short NOT_RECOGNIZED

Exception type: identifier not recognized.

NOT_SUPPORTEDback to summary
public static final short NOT_SUPPORTED

Exception type: identifier not supported.

serialVersionUIDback to summary
pack-priv static final long serialVersionUID

Hides org.apache.xerces.xni.XNIException.serialVersionUID.

Serialization version.

Constructor Detail

XMLConfigurationExceptionback to summary
public XMLConfigurationException(short type, String identifier)

Constructs a configuration exception with the specified type and feature/property identifier.

Parameters
type:short

The type of the exception.

identifier:String

The feature or property identifier.

See Also
NOT_RECOGNIZED, NOT_SUPPORTED
XMLConfigurationExceptionback to summary
public XMLConfigurationException(short type, String identifier, String message)

Constructs a configuration exception with the specified type, feature/property identifier, and error message

Parameters
type:short

The type of the exception.

identifier:String

The feature or property identifier.

message:String

The error message.

See Also
NOT_RECOGNIZED, NOT_SUPPORTED

Method Detail

getIdentifierback to summary
public String getIdentifier()

Returns the feature or property identifier.

getTypeback to summary
public short getType()

Returns the exception type.

See Also
NOT_RECOGNIZED, NOT_SUPPORTED