Class AutomatonTooLargeException
The exception that is thrown when a new state cannot be added to an automaton because it has too many states already.
Implements
Inherited Members
Namespace: Microsoft.ML.Probabilistic.Distributions.Automata
Assembly: Microsoft.ML.Probabilistic.dll
Syntax
[Serializable]
public class AutomatonTooLargeException : AutomatonException, ISerializable
Constructors
AutomatonTooLargeException()
Initializes a new instance of the AutomatonTooLargeException class.
Declaration
public AutomatonTooLargeException()
AutomatonTooLargeException(Int32)
Initializes a new instance of the AutomatonTooLargeException class.
Declaration
public AutomatonTooLargeException(int maxStateCount)
Parameters
Type | Name | Description |
---|---|---|
Int32 | maxStateCount | The state count threshold that has been exceeded. |
AutomatonTooLargeException(SerializationInfo, StreamingContext)
Initializes a new instance of the AutomatonTooLargeException class.
Declaration
protected AutomatonTooLargeException(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. |
AutomatonTooLargeException(String)
Initializes a new instance of the AutomatonTooLargeException class with a specified error message.
Declaration
public AutomatonTooLargeException(string message)
Parameters
Type | Name | Description |
---|---|---|
String | message | The error message that explains the reason for the exception. |
AutomatonTooLargeException(String, Exception)
Initializes a new instance of the AutomatonTooLargeException class with a specified error message and a reference to the inner exception that is the cause of this exception.
Declaration
public AutomatonTooLargeException(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 |