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 aSemanticExceptionwith a messageSemanticException(String msg, Exception e)Constructs aSemanticExceptionwith 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
-
-
-
-
Constructor Detail
-
SemanticException
public SemanticException(String msg, Exception e)
Constructs aSemanticExceptionwith a message and cause- Parameters:
msg- the message of the exceptione- the cause of the exception
-
SemanticException
public SemanticException(String msg)
Constructs aSemanticExceptionwith a message- Parameters:
msg- the message of the exception
-
-