Internal pmdcamera exception. More...
#include <pmdcamera_exceptions.h>
Public Member Functions | |
CPmdCameraInternalException (const std::string &where, int error_code) | |
Class constructor. |
Internal pmdcamera exception.
Definition at line 10 of file pmdcamera_exceptions.h.
CPmdCameraInternalException::CPmdCameraInternalException | ( | const std::string & | where, |
int | error_code | ||
) |
Class constructor.
This constructor generates a standard error message with the error code provided as a parameter. The standard error message is "Internal pmdaccess error: error code ", with the error code appended at the end. The base class constructor is called, so the same prefix is appended at the beginning to label the message as an exception.
where | a null terminated string with the information about the name of the function, the source code filename and the line where the exception was generated. This string must be generated by the _HERE_ macro. |
error_code | the error codereturned by one of the pmdaccess library functions. See the pmdaccess documentation for further details on the possible errors. |
Definition at line 9 of file pmdcamera_exceptions.cpp.