Package com.bayesserver
Class ExpressionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.bayesserver.ExpressionException
-
- All Implemented Interfaces:
Serializable
public class ExpressionException extends RuntimeException
Exception raised during lexing, parsing or evaluation of an expression.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ExpressionException()
Initializes a new instance of theExpressionException
class.ExpressionException(String message)
Initializes a new instance of theExpressionException
class with a specified error message.ExpressionException(String message, Throwable cause)
Initializes a new instance of theExpressionException
class with a specified error message and a reference to the inner exception that is the cause of this exception.ExpressionException(Throwable cause)
Initializes a new instance of theExpressionException
class with a reference to the inner exception that is the cause of this exception.
-
Method Summary
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ExpressionException
public ExpressionException()
Initializes a new instance of theExpressionException
class.
-
ExpressionException
public ExpressionException(String message)
Initializes a new instance of theExpressionException
class with a specified error message.- Parameters:
message
- The error message that explains the reason for the exception.
-
ExpressionException
public ExpressionException(String message, Throwable cause)
Initializes a new instance of theExpressionException
class with a specified error message and a reference to the inner exception that is the cause of this exception.- Parameters:
message
- The error message that explains the reason for the exception.cause
- The exception that is the cause of the current exception.
-
ExpressionException
public ExpressionException(Throwable cause)
Initializes a new instance of theExpressionException
class with a reference to the inner exception that is the cause of this exception.- Parameters:
cause
- The exception that is the cause of the current exception.
-
-