Class InvalidNetworkException
Raised when a network has not been correctly specified.
Implements
Inherited Members
Namespace: BayesServer
Assembly: BayesServer.dll
Syntax
public class InvalidNetworkException : Exception, ISerializable
Constructors
InvalidNetworkException()
Initializes a new instance of the InvalidNetworkException class.
Declaration
public InvalidNetworkException()
InvalidNetworkException(String)
Initializes a new instance of the InvalidNetworkException class with a specified error message.
Declaration
public InvalidNetworkException(string message)
Parameters
| Type | Name | Description |
|---|---|---|
| String | message | The error message that explains the reason for the exception. |
InvalidNetworkException(String, Exception)
Initializes a new instance of the InvalidNetworkException class with a specified error message and a reference to the inner exception that is the cause of this exception.
Declaration
public InvalidNetworkException(string message, Exception inner)
Parameters
| Type | Name | Description |
|---|---|---|
| String | message | The error message that explains the reason for the exception. |
| 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
See Also
BayesServer.Network.Validate