Package weka.core.expressionlanguage.core

# Class SemanticException

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

  Constructors
  Constructor
  Description
  `SemanticException(String msg)`
  Constructs a `SemanticException` with a message
  `SemanticException(String msg, 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 Details

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