Class InferCompilerException
The exception that is thrown in the case of an issue encountered by the Infer.NET Compiler.
Implements
Inherited Members
Namespace: Microsoft.ML.Probabilistic.Compiler
Assembly: Microsoft.ML.Probabilistic.Compiler.dll
Syntax
public class InferCompilerException : Exception, ISerializable
Constructors
InferCompilerException()
Initializes a new instance of the InferCompilerException class.
Declaration
public InferCompilerException()
InferCompilerException(SerializationInfo, StreamingContext)
Declaration
protected InferCompilerException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | |
StreamingContext | context |
InferCompilerException(String)
Initializes a new instance of the InferCompilerException class with a specified error message.
Declaration
public InferCompilerException(string message)
Parameters
Type | Name | Description |
---|---|---|
String | message | The error message. |
InferCompilerException(String, Exception)
Initializes a new instance of the InferCompilerException class with a specified error message and a reference to the inner exception that is the cause of this exception.
Declaration
public InferCompilerException(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. |