Class XMLConfigurationException

  • All Implemented Interfaces:
    java.io.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:
    Serialized Form
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.String identifier_
      Identifier.
      static short NOT_RECOGNIZED
      Exception type: identifier not recognized.
      static short NOT_SUPPORTED
      Exception type: identifier not supported.
      private short type_
      Exception type.
    • Constructor Summary

      Constructors 
      Constructor Description
      XMLConfigurationException​(short type, java.lang.String identifier)
      Constructs a configuration exception with the specified type and feature/property identifier.
      XMLConfigurationException​(short type, java.lang.String identifier, java.lang.String message)
      Constructs a configuration exception with the specified type, feature/property identifier, and error message
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String getIdentifier()  
      short getType()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • NOT_RECOGNIZED

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

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

        private final short type_
        Exception type.
      • identifier_

        private final java.lang.String identifier_
        Identifier.
    • Constructor Detail

      • XMLConfigurationException

        public XMLConfigurationException​(short type,
                                         java.lang.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:
        NOT_RECOGNIZED, NOT_SUPPORTED
      • XMLConfigurationException

        public XMLConfigurationException​(short type,
                                         java.lang.String identifier,
                                         java.lang.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:
        NOT_RECOGNIZED, NOT_SUPPORTED
    • Method Detail

      • getIdentifier

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