opencv
2.2.0
|
#include <core.hpp>
Public Member Functions | |
Exception () | |
Exception (int _code, const string &_err, const string &_func, const string &_file, int _line) | |
void | formatMessage () |
virtual const char * | what () const throw () |
virtual | ~Exception () throw () |
Public Attributes | |
int | code |
error code | |
string | err |
error description | |
string | file |
source file name where the error has occured | |
string | func |
function name. Available only when the compiler supports func macro | |
int | line |
line number in the source file where the error has occured | |
string | msg |
the formatted error message | |
The standard OpenCV exception class. Instances of the class are thrown by various functions and methods in the case of critical errors.
|
inline |
Default constructor
|
inline |
Full constructor. Normally the constuctor is not called explicitly. Instead, the macros CV_Error(), CV_Error_() and CV_Assert() are used.
|
inlinevirtual |
|
inline |
|
inlinevirtual |
int cv::Exception::code |
error code
string cv::Exception::err |
error description
string cv::Exception::file |
source file name where the error has occured
string cv::Exception::func |
function name. Available only when the compiler supports func macro
int cv::Exception::line |
line number in the source file where the error has occured
string cv::Exception::msg |
the formatted error message