Class SyntaxException

  • All Implemented Interfaces:
    java.io.Serializable

    public class SyntaxException
    extends java.lang.Exception
    An exception to represent an invalid syntax of a program
    Version:
    $Revision: 1000 $
    Author:
    Benjamin Weber ( benweber at student dot ethz dot ch )
    See Also:
    Serialized Form
    • 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

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • SyntaxException

        public SyntaxException​(java.lang.String msg)
        Constructs a SyntaxException with a message
        Parameters:
        msg - the message of the exception