Class ExpressionException
Exception raised during lexing, parsing or evaluation of an expression.
Inheritance
System.Object
System.Exception
ExpressionException
Implements
System.Runtime.Serialization.ISerializable
Inherited Members
System.Exception.GetBaseException()
System.Exception.GetObjectData(System.Runtime.Serialization.SerializationInfo, System.Runtime.Serialization.StreamingContext)
System.Exception.GetType()
System.Exception.ToString()
System.Exception.Data
System.Exception.HelpLink
System.Exception.HResult
System.Exception.InnerException
System.Exception.Message
System.Exception.Source
System.Exception.StackTrace
System.Exception.TargetSite
System.Exception.SerializeObjectState
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: BayesServer.Expressions
Assembly: BayesServer.dll
Syntax
public class ExpressionException : Exception, ISerializable
Constructors
ExpressionException()
Initializes a new instance of the BayesServer.ExpressionException class.
Declaration
public ExpressionException()
ExpressionException(String)
Initializes a new instance of the BayesServer.ExpressionException class with a specified error message.
Declaration
public ExpressionException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The error message that explains the reason for the exception. |
ExpressionException(String, Exception)
Initializes a new instance of the BayesServer.ExpressionException class with a specified error message and a reference to the inner exception that is the cause of this exception.
Declaration
public ExpressionException(string message, Exception inner)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The error message that explains the reason for the exception. |
System.Exception | inner | The exception that is the cause of the current exception. If the innerException parameter is not a null reference, the current exception is raised in a catch block that handles the inner exception. |
Implements
System.Runtime.Serialization.ISerializable