Updraft
1.0
Open source glider flight visualisation tool.
|
Exception handling for GeographicLib. More...
#include <Constants.hpp>
Public Member Functions | |
GeographicErr (const std::string &msg) | |
Constructor. |
Exception handling for GeographicLib.
A class to handle exceptions. It's derived from std::runtime_error so it can be caught by the usual catch clauses.
Example of use:
GeographicLib::GeographicErr::GeographicErr | ( | const std::string & | msg | ) | [inline] |
Constructor.
[in] | msg | a string message, which is accessible in the catch clause, via what(). |