public class XMLConfigurationException extends XNIException
XNIException in order to differentiate between general
 parsing errors and configuration errors.| Modifier and Type | Field and Description | 
|---|---|
| protected String | fIdentifierIdentifier. | 
| protected short | fTypeException type. | 
| static short | NOT_RECOGNIZEDException type: identifier not recognized. | 
| static short | NOT_SUPPORTEDException type: identifier not supported. | 
| Constructor and Description | 
|---|
| 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 | 
| Modifier and Type | Method and Description | 
|---|---|
| String | getIdentifier()Returns the feature or property identifier. | 
| short | getType()Returns the exception type. | 
getCause, getException, initCauseaddSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static final short NOT_RECOGNIZED
public static final short NOT_SUPPORTED
protected short fType
protected String fIdentifier
public XMLConfigurationException(short type,
                                 String identifier)
type - The type of the exception.identifier - The feature or property identifier.NOT_RECOGNIZED, 
NOT_SUPPORTEDpublic XMLConfigurationException(short type,
                                 String identifier,
                                 String message)
type - The type of the exception.identifier - The feature or property identifier.message - The error message.NOT_RECOGNIZED, 
NOT_SUPPORTEDpublic short getType()
NOT_RECOGNIZED, 
NOT_SUPPORTEDpublic String getIdentifier()
Copyright © 2019 JBoss by Red Hat. All rights reserved.