Class AponSyntaxException

    • Constructor Summary

      Constructors 
      Constructor Description
      AponSyntaxException()
      Simple constructor.
      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.
      AponSyntaxException​(java.lang.String msg, java.lang.Throwable cause)
      Constructor to create exception to wrap another exception and pass a message.
      AponSyntaxException​(java.lang.Throwable cause)
      Constructor to create exception to wrap another exception.
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      protected static java.lang.String createMessage​(int lineNumber, java.lang.String line, java.lang.String tline, java.lang.String msg)
      Create a detail message.
      • 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()
        Simple constructor.
      • 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​(java.lang.Throwable cause)
        Constructor to create exception to wrap another exception.
        Parameters:
        cause - the real cause of the exception
      • AponSyntaxException

        public AponSyntaxException​(java.lang.String msg,
                                   java.lang.Throwable cause)
        Constructor to create exception to wrap another exception and pass a message.
        Parameters:
        msg - the message
        cause - the real cause of the exception
    • Method Detail

      • createMessage

        protected static java.lang.String createMessage​(int lineNumber,
                                                        java.lang.String line,
                                                        java.lang.String tline,
                                                        java.lang.String msg)
        Create a detail message.
        Parameters:
        lineNumber - the line number
        line - the character line
        tline - the trimmed character line
        msg - the message
        Returns:
        the detail message