Class MappingException
The exception that is thrown for issues caused by mappings.
Implements
Inherited Members
Namespace: Microsoft.ML.Probabilistic.Learners.Mappings
Assembly: Microsoft.ML.Probabilistic.Learners.dll
Syntax
[Serializable]
public class MappingException : Exception, ISerializable
Constructors
MappingException()
Initializes a new instance of the MappingException class.
Declaration
public MappingException()
MappingException(SerializationInfo, StreamingContext)
Initializes a new instance of the MappingException class.
Declaration
protected MappingException(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. |
MappingException(String)
Initializes a new instance of the MappingException class with a specified error message.
Declaration
public MappingException(string message)
Parameters
Type | Name | Description |
---|---|---|
String | message | The error message. |
MappingException(String, Exception)
Initializes a new instance of the MappingException class with a specified error message and a reference to the inner exception that is the cause of this exception.
Declaration
public MappingException(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. |