Class AutomatonEnumerationCountException
The exception that is thrown when an enumeration becomes too large.
Implements
Inherited Members
Namespace: Microsoft.ML.Probabilistic.Distributions.Automata
Assembly: Microsoft.ML.Probabilistic.dll
Syntax
[Serializable]
public class AutomatonEnumerationCountException : AutomatonException, ISerializable
Constructors
AutomatonEnumerationCountException()
Initializes a new instance of the AutomatonEnumerationCountException class.
Declaration
public AutomatonEnumerationCountException()
AutomatonEnumerationCountException(Int32)
Initializes a new instance of the AutomatonEnumerationCountException class.
Declaration
public AutomatonEnumerationCountException(int maxEnumerationCount)
Parameters
Type | Name | Description |
---|---|---|
Int32 | maxEnumerationCount | The maximum enumeration count that has been exceeded. |
AutomatonEnumerationCountException(SerializationInfo, StreamingContext)
Initializes a new instance of the AutomatonEnumerationCountException class with serialized data.
Declaration
protected AutomatonEnumerationCountException(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. |
AutomatonEnumerationCountException(String)
Initializes a new instance of the AutomatonEnumerationCountException class with a specified error message.
Declaration
public AutomatonEnumerationCountException(string message)
Parameters
Type | Name | Description |
---|---|---|
String | message | The error message that explains the reason for the exception. |
AutomatonEnumerationCountException(String, Exception)
Initializes a new instance of the AutomatonEnumerationCountException class with a specified error message and a reference to the inner exception that is the cause of this exception.
Declaration
public AutomatonEnumerationCountException(string message, Exception innerException)
Parameters
Type | Name | Description |
---|---|---|
String | message | The error message that explains the reason for the exception. |
Exception | innerException | The exception that is the cause of the current exception.
If the |