Class ValidationException
Raised by an identification algorithm when validation fails.
Inheritance
Implements
Inherited Members
Namespace: BayesServer.Causal.Identification
Assembly: BayesServer.Causal.dll
Syntax
public class ValidationException : Exception, ISerializable
Constructors
ValidationException()
Initializes a new instance of the BayesServer.Causality.Identification.ValidationException class.
Declaration
public ValidationException()
ValidationException(String)
Initializes a new instance of the BayesServer.Causality.Identification.ValidationException class with a specified error message.
Declaration
public ValidationException(string message)
Parameters
Type | Name | Description |
---|---|---|
System.String | message | The error message that explains the reason for the exception. |
ValidationException(String, Exception)
Initializes a new instance of the BayesServer.Causality.Identification.ValidationException class with a specified error message and a reference to the inner exception that is the cause of this exception.
Declaration
public ValidationException(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. |