Class SemanticException

  • All Implemented Interfaces:
    Serializable

    public class SemanticException
    extends 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
    • Constructor Detail

      • SemanticException

        public SemanticException​(String msg,
                                 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​(String msg)
        Constructs a SemanticException with a message
        Parameters:
        msg - the message of the exception