Class SemanticException

  • All Implemented Interfaces:
    java.io.Serializable

    public class SemanticException
    extends java.lang.Exception
    An exception that should be used if a program doesn't have valid semantics
    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

      • SemanticException

        public SemanticException​(java.lang.String msg,
                                 java.lang.Exception e)
        Constructs a SemanticException with a message and cause
        Parameters:
        msg - the message of the exception
        e - the cause of the exception
      • SemanticException

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