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

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

Added: automated license updating lines:
%pacpus:license{
%pacpus:license}

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