Package 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:
Serializable
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 447244 2006-09-18 05:20:40Z mrglavas $
- Author:
- Andy Clark, IBM
- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
Identifier.protected short
Exception type.static final short
Exception type: identifier not recognized.static final short
Exception type: identifier not supported. -
Constructor Summary
ConstructorsConstructorDescriptionXMLConfigurationException
(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 -
Method Summary
Modifier and TypeMethodDescriptionReturns the feature or property identifier.short
getType()
Returns the exception type.Methods inherited from class org.apache.xerces.xni.XNIException
getCause, getException, initCause
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
NOT_RECOGNIZED
public static final short NOT_RECOGNIZEDException type: identifier not recognized.- See Also:
-
NOT_SUPPORTED
public static final short NOT_SUPPORTEDException type: identifier not supported.- See Also:
-
fType
protected short fTypeException type. -
fIdentifier
Identifier.
-
-
Constructor Details
-
XMLConfigurationException
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:
-
XMLConfigurationException
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:
-
-
Method Details
-
getType
public short getType()Returns the exception type.- See Also:
-
getIdentifier
Returns the feature or property identifier.
-