Class AponSyntaxException

  • All Implemented Interfaces:
    java.io.Serializable

    public class AponSyntaxException
    extends AponParseException
    This exception is raised when attempting to read (or write) a malformed APON element.
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      AponSyntaxException​(int lineNumber, java.lang.String line, java.lang.String tline, ParameterValue parameterValue, ParameterValueType expectedParameterValueType)
      Constructor to create exception with a message.
      AponSyntaxException​(int lineNumber, java.lang.String line, java.lang.String tline, java.lang.String msg)
      Constructor to create exception with a message.
      AponSyntaxException​(java.lang.String msg)
      Constructor to create exception with a message.
    • Method Summary

      • 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
    • Constructor Detail

      • AponSyntaxException

        public AponSyntaxException​(java.lang.String msg)
        Constructor to create exception with a message.
        Parameters:
        msg - a message to associate with the exception
      • AponSyntaxException

        public AponSyntaxException​(int lineNumber,
                                   java.lang.String line,
                                   java.lang.String tline,
                                   java.lang.String msg)
        Constructor to create exception with a message.
        Parameters:
        lineNumber - the line number
        line - the character line
        tline - the trimmed character line
        msg - a message to associate with the exception
      • AponSyntaxException

        public AponSyntaxException​(int lineNumber,
                                   java.lang.String line,
                                   java.lang.String tline,
                                   ParameterValue parameterValue,
                                   ParameterValueType expectedParameterValueType)
        Constructor to create exception with a message.
        Parameters:
        lineNumber - the line number
        line - the character line
        tline - the trimmed character line
        parameterValue - the actual value type
        expectedParameterValueType - the expected value type