APIdia Launch Partner
Top Description Fields Constructors Methods
com.sun.org.apache.xerces.internal.xni.parser

public Class XMLConfigurationException

extends XNIException
Class Inheritance
Imports
com.sun.org.apache.xerces.internal.util.Status, com.sun.org.apache.xerces.internal.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

Field Summary

Modifier and TypeField and Description
protected String
fIdentifier

Identifier.

protected Status
fType

Exception type.

pack-priv static final long

Constructor Summary

AccessConstructor and Description
public
XMLConfigurationException(Status
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(Status
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 Status
getType()

Returns the exception type.

Inherited from com.sun.org.apache.xerces.internal.xni.XNIException:
getCausegetException

Field Detail

fIdentifierback to summary
protected String fIdentifier

Identifier.

fTypeback to summary
protected Status fType

Exception type.

serialVersionUIDback to summary
pack-priv static final long serialVersionUID

Hides com.sun.org.apache.xerces.internal.xni.XNIException.serialVersionUID.

Serialization version.

Constructor Detail

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

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

Parameters
type:Status

The type of the exception.

identifier:String

The feature or property identifier.

XMLConfigurationExceptionback to summary
public XMLConfigurationException(Status type, String identifier, String message)

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

Parameters
type:Status

The type of the exception.

identifier:String

The feature or property identifier.

message:String

The error message.

Method Detail

getIdentifierback to summary
public String getIdentifier()

Returns the feature or property identifier.

getTypeback to summary
public Status getType()

Returns the exception type.