Table of Contents

Class UnexpectedModelTypeException

Namespace
Bonsai.Sleap
Assembly
Bonsai.Sleap.dll

The exception that is thrown when a SLEAP model is unexpected for the inference operator.

[Serializable]
public class UnexpectedModelTypeException : InvalidOperationException, ISerializable, _Exception
Inheritance
UnexpectedModelTypeException
Implements
Inherited Members

Constructors

UnexpectedModelTypeException()

Initializes a new instance of the UnexpectedModelTypeException class.

public UnexpectedModelTypeException()

UnexpectedModelTypeException(string)

Initializes a new instance of the UnexpectedModelTypeException class with a specified error message.

public UnexpectedModelTypeException(string message)

Parameters

message string

The message that describes the error.

UnexpectedModelTypeException(string, Exception)

Initializes a new instance of the UnexpectedModelTypeException class with a specified error message and a reference to the inner exception that is the cause of this exception.

public UnexpectedModelTypeException(string message, Exception innerException)

Parameters

message string

The error message that explains the reason for the exception.

innerException Exception

The exception that is the cause of the current exception, or null if no inner exception is specified.