source: pacpusframework/trunk/include/Pacpus/PacpusTools/math/math_exception.hpp@ 30

Last change on this file since 30 was 3, checked in by sgosseli, 12 years ago
  • Add the existing Pacpus files from pacpusdev and pacpuscore.
  • Provide a clean build system based on multiple CMake files.
File size: 449 bytes
Line 
1#ifndef __MATH_EXCEPTION_HPP__
2#define __MATH_EXCEPTION_HPP__
3
4namespace math {
5
6 /*!
7 * \class math_error
8 * \brief This class describes the math exception
9 */
10 class math_error : public std::logic_error
11 {
12 public:
13 /*!
14 * \brief Constructor
15 * \param what_arg : a string describing the math problem
16 */
17 math_error (const std::string& what_arg) : logic_error( what_arg) {}
18 };
19
20};
21#endif
Note: See TracBrowser for help on using the repository browser.