Changeset 66 in pacpusframework for trunk/include/Pacpus/PacpusTools/math/math_exception.hpp
- Timestamp:
- Jan 9, 2013, 5:54:11 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/Pacpus/PacpusTools/math/math_exception.hpp
r64 r66 1 #ifndef __MATH_EXCEPTION_HPP__ 2 #define __MATH_EXCEPTION_HPP__ 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$ 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 3 15 4 16 namespace math { 5 17 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 }; 18 /*! 19 * \class math_error 20 * \brief This class describes the math exception 21 */ 22 class 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 }; 19 32 20 }; 21 #endif 33 } // namespace math 34 35 #endif // PACPUS_MATH_EXCEPTION_HPP
Note:
See TracChangeset
for help on using the changeset viewer.