Class passed to an error.
More...
#include "core.hpp"
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 |
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: