SLProject  4.2.000
A platform independent 3D computer graphics framework for desktop OS, Android, iOS and online in web browsers
CVCalibrationEstimatorException Class Reference

special exception that informs about errors during calibration process More...

#include <CVCalibrationEstimator.h>

Inherits std::runtime_error.

Public Member Functions

 CVCalibrationEstimatorException (const string &msg, const int line, const string &file)
 

Private Member Functions

string toMessage (const string &msg, const int line, const string &file)
 

Detailed Description

special exception that informs about errors during calibration process

Definition at line 24 of file CVCalibrationEstimator.h.

Constructor & Destructor Documentation

◆ CVCalibrationEstimatorException()

CVCalibrationEstimatorException::CVCalibrationEstimatorException ( const string &  msg,
const int  line,
const string &  file 
)
inline

Definition at line 27 of file CVCalibrationEstimator.h.

30  : std::runtime_error(toMessage(msg, line, file).c_str())
31  {
32  }
string toMessage(const string &msg, const int line, const string &file)

Member Function Documentation

◆ toMessage()

string CVCalibrationEstimatorException::toMessage ( const string &  msg,
const int  line,
const string &  file 
)
inlineprivate

Definition at line 35 of file CVCalibrationEstimator.h.

36  {
37  std::stringstream ss;
38  ss << msg << ": Exception thrown at line " << line << " in " << file << std::endl;
39  return ss.str();
40  }

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