Class XMLConfigurationException

All Implemented Interfaces:
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.
See Also:
  • Field Details

    • NOT_RECOGNIZED

      public static final short NOT_RECOGNIZED
      Exception type: identifier not recognized.
      See Also:
    • NOT_SUPPORTED

      public static final short NOT_SUPPORTED
      Exception type: identifier not supported.
      See Also:
    • type_

      private final short type_
      Exception type.
    • identifier_

      private final String identifier_
      Identifier.
  • Constructor Details

    • XMLConfigurationException

      public XMLConfigurationException(short type, 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:
    • XMLConfigurationException

      public XMLConfigurationException(short type, String identifier, 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:
  • Method Details

    • getType

      public short getType()
      Returns:
      the exception type.
      See Also:
    • getIdentifier

      public String getIdentifier()
      Returns:
      the feature or property identifier.