Class ImproperDistributionException
Exception thrown when a distribution is improper and its expectations need to be computed.
Implements
Inherited Members
Namespace: Microsoft.ML.Probabilistic.Distributions
Assembly: Microsoft.ML.Probabilistic.dll
Syntax
[Serializable]
public class ImproperDistributionException : Exception, ISerializable
Constructors
ImproperDistributionException()
Initializes a new instance of the ImproperDistributionException class.
Declaration
public ImproperDistributionException()
ImproperDistributionException(Object)
Create a new Improper Distribution exception
Declaration
public ImproperDistributionException(object distribution)
Parameters
Type | Name | Description |
---|---|---|
Object | distribution |
ImproperDistributionException(SerializationInfo, StreamingContext)
Initializes a new instance of the ImproperDistributionException class.
Declaration
protected ImproperDistributionException(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. |
ImproperDistributionException(String, Exception)
Initializes a new instance of the ImproperDistributionException class with a specified error message and a reference to the inner exception that is the cause of this exception.
Declaration
public ImproperDistributionException(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. |