Public Member Functions
CPmdCameraInternalException Class Reference

Internal pmdcamera exception. More...

#include <pmdcamera_exceptions.h>

List of all members.

Public Member Functions

 CPmdCameraInternalException (const std::string &where, int error_code)
 Class constructor.

Detailed Description

Internal pmdcamera exception.

Definition at line 10 of file pmdcamera_exceptions.h.


Constructor & Destructor Documentation

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.

Parameters:
wherea 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_codethe 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.


The documentation for this class was generated from the following files:


iri_pmdcamera
Author(s): Guillem Alenya - IRI Robotics Lab
autogenerated on Fri Dec 6 2013 20:10:05