Class AutomatonException
The exception that is thrown when an automaton-related error occurs.
Inheritance
Implements
Inherited Members
Namespace: Microsoft.ML.Probabilistic.Distributions.Automata
Assembly: Microsoft.ML.Probabilistic.dll
Syntax
[Serializable]
public class AutomatonException : Exception, ISerializable
Constructors
AutomatonException()
Initializes a new instance of the AutomatonException class.
Declaration
public AutomatonException()
AutomatonException(SerializationInfo, StreamingContext)
Initializes a new instance of the AutomatonException class.
Declaration
protected AutomatonException(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. |
AutomatonException(String)
Initializes a new instance of the AutomatonException class with a specified error message.
Declaration
public AutomatonException(string message)
Parameters
Type | Name | Description |
---|---|---|
String | message | The error message that explains the reason for the exception. |
AutomatonException(String, Exception)
Initializes a new instance of the AutomatonException class with a specified error message and a reference to the inner exception that is the cause of this exception.
Declaration
public AutomatonException(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 |