weka.core.expressionlanguage.core

## Class SemanticException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - weka.core.expressionlanguage.core.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

- - ### Constructor Summary

    Constructors
    Constructor and Description
    `SemanticException(java.lang.String msg)` Constructs a `SemanticException` with a message
    `SemanticException(java.lang.String msg, java.lang.Exception e)` Constructs a `SemanticException` with a message and cause

  - ### 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