Table of Contents

Constructor OpenCVException

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

OpenCVException(ErrorCode, string, string, string, int)

Constructor

public OpenCVException(ErrorCode status, string funcName, string errMsg, string fileName, int line)

Parameters

status ErrorCode

The numeric code for error status

funcName string

The source file name where error is encountered

errMsg string

A description of the error

fileName string

The source file name where error is encountered

line int

The line number in the source where error is encountered

OpenCVException()

Initializes a new instance of the Exception class.

public OpenCVException()

OpenCVException(string)

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

public OpenCVException(string message)

Parameters

message string

The message that describes the error.

OpenCVException(string, Exception)

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

public OpenCVException(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 a null reference (Nothing in Visual Basic) if no inner exception is specified.