Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Fork of gr-peach-opencv-project-sd-card by
Exception Class Reference
[Utility and system functions and macros]
Class passed to an error. More...
#include <core.hpp>
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
Definition at line 217 of file system.cpp.
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.
Definition at line 219 of file system.cpp.
Member Function Documentation
const char * what | ( | ) | const throw () [virtual] |
- Returns:
- the error description and the context as a text string.
Definition at line 230 of file system.cpp.
Field Documentation
String func |
int line |
Generated on Tue Jul 12 2022 14:48:01 by
