opencv on mbed
Exception Class Reference
[Utility and system functions and macros]
Class passed to an error. More...
#include <core.hpp>
Inherited by FLANNException.
Public Member Functions | |
Exception () | |
Exception (int _code, const String &_err, const String &_func, const String &_file, int _line) | |
virtual const char * | what () const throw () |
Data Fields | |
String | msg |
the formatted error message | |
int | code |
error code | |
String | err |
error description | |
String | func |
function name. Available only when the compiler supports getting it | |
String | file |
source file name where the error has occured | |
int | line |
line number in the source file where the error has occured |
Detailed Description
Class passed to an error.
This class encapsulates all or almost all necessary information about the error happened in the program. The exception is usually constructed and thrown implicitly via CV_Error and CV_Error_ macros.
- See also:
- error
Definition at line 109 of file core.hpp.
Constructor & Destructor Documentation
Exception | ( | ) |
Default constructor
Exception | ( | int | _code, |
const String & | _err, | ||
const String & | _func, | ||
const String & | _file, | ||
int | _line | ||
) |
Full constructor. Normally the constuctor is not called explicitly. Instead, the macros CV_Error(), CV_Error_() and CV_Assert() are used.
Member Function Documentation
virtual const char* what | ( | ) | const throw () [virtual] |
- Returns:
- the error description and the context as a text string.
Field Documentation
String func |
int line |
Generated on Tue Jul 12 2022 16:42:43 by 1.7.2