Table of Contents

Class OpenCVException

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

The default exception to be thrown by OpenCV

[Serializable]
public class OpenCVException : Exception, ISerializable
Inheritance
OpenCVException
Implements
Inherited Members

Constructors

OpenCVException()

Initializes a new instance of the Exception class.

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

Constructor

OpenCVException(string)

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

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.

Properties

ErrMsg

A description of the error

FileName

The source file name where error is encountered

FuncName

The source file name where error is encountered

Line

The line number in the source where error is encountered

Status

The numeric code for error status