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

Last change on this file since 73 was 73, checked in by Marek Kurdej, 11 years ago

Minor: line-endings.

  • Property svn:keywords set to Id
File size: 856 bytes
Line 
1// This file is part of the PACPUS framework distributed under the
2// CECILL-C License, Version 1.0.
3//
4/// @file
5/// @author Firstname Surname <firstname.surname@utc.fr>
6/// @date Month, Year
7/// @version $Id: math_exception.hpp 73 2013-01-10 16:56:42Z kurdejma $
8/// @copyright Copyright (c) UTC/CNRS Heudiasyc 2006 - 2013. All rights reserved.
9/// @brief Brief description.
10///
11/// Detailed description.
12
13#ifndef PACPUS_MATH_EXCEPTION_HPP
14#define PACPUS_MATH_EXCEPTION_HPP
15
16namespace math {
17
18/*!
19* \class math_error
20* \brief This class describes the math exception
21*/
22class math_error
23 : public std::logic_error
24{
25 public:
26 /*!
27 * \brief Constructor
28 * \param what_arg : a string describing the math problem
29 */
30 math_error (const std::string& what_arg) : logic_error( what_arg) {}
31 };
32
33} // namespace math
34
35#endif // PACPUS_MATH_EXCEPTION_HPP
Note: See TracBrowser for help on using the repository browser.