Class ImproperMessageException
Improper message exception
Implements
Inherited Members
Namespace: Microsoft.ML.Probabilistic.Factors
Assembly: Microsoft.ML.Probabilistic.dll
Syntax
[Serializable]
public class ImproperMessageException : Exception, ISerializable
Constructors
ImproperMessageException()
Initializes a new instance of the ImproperMessageException class.
Declaration
public ImproperMessageException()
ImproperMessageException(Object)
Creates an improper message exception with the specified distribution
Declaration
public ImproperMessageException(object distribution)
Parameters
Type | Name | Description |
---|---|---|
Object | distribution | Distribution instance |
ImproperMessageException(SerializationInfo, StreamingContext)
Initializes a new instance of the ImproperMessageException class.
Declaration
protected ImproperMessageException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | The object that holds the serialized object data. |
StreamingContext | context | The contextual information about the source or destination. |
ImproperMessageException(String, Exception)
Initializes a new instance of the ImproperMessageException class with a specified error message and a reference to the inner exception that is the cause of this exception.
Declaration
public ImproperMessageException(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. |