Class CompilationFailedException
Exception thrown when Infer.NET model compilation encounters errors.
Implements
Inherited Members
Namespace: Microsoft.ML.Probabilistic.Compiler
Assembly: Microsoft.ML.Probabilistic.Compiler.dll
Syntax
[Serializable]
public class CompilationFailedException : Exception, ISerializable
Constructors
CompilationFailedException()
Initializes a new instance of the CompilationFailedException class.
Declaration
public CompilationFailedException()
CompilationFailedException(TransformResults, String)
Declaration
public CompilationFailedException(TransformResults tr, string msg)
Parameters
Type | Name | Description |
---|---|---|
TransformResults | tr | |
String | msg |
CompilationFailedException(SerializationInfo, StreamingContext)
Declaration
protected CompilationFailedException(SerializationInfo info, StreamingContext context)
Parameters
Type | Name | Description |
---|---|---|
SerializationInfo | info | |
StreamingContext | context |
CompilationFailedException(String)
Initializes a new instance of the CompilationFailedException class with a specified error message.
Declaration
public CompilationFailedException(string message)
Parameters
Type | Name | Description |
---|---|---|
String | message | The error message. |
CompilationFailedException(String, Exception)
Initializes a new instance of the CompilationFailedException class with a specified error message and a reference to the inner exception that is the cause of this exception.
Declaration
public CompilationFailedException(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. |
Fields
Results
The errors and warnings thrown by the failed stage of compilation.
Declaration
public TransformResults Results
Field Value
Type | Description |
---|---|
TransformResults |