Class passed to an error.
More...
#include <opencv2/core.hpp>
|
int | code |
| error code
|
|
String | err |
| error description
|
|
String | file |
| source file name where the error has occurred
|
|
String | func |
| function name. Available only when the compiler supports getting it
|
|
int | line |
| line number in the source file where the error has occurred
|
|
String | msg |
| the formatted error message
|
|
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
- Examples:
- samples/cpp/pca.cpp, and samples/tapi/hog.cpp.
cv::Exception::Exception |
( |
| ) |
|
cv::Exception::Exception |
( |
int |
_code, |
|
|
const String & |
_err, |
|
|
const String & |
_func, |
|
|
const String & |
_file, |
|
|
int |
_line |
|
) |
| |
virtual cv::Exception::~Exception |
( |
| ) |
throw () |
|
virtual |
void cv::Exception::formatMessage |
( |
| ) |
|
virtual const char* cv::Exception::what |
( |
| ) |
const throw () |
|
virtual |
error code
- See Also
- CVStatus
source file name where the error has occurred
function name. Available only when the compiler supports getting it
line number in the source file where the error has occurred
The documentation for this class was generated from the following file: