Last change
on this file was 89, checked in by morasjul, 11 years ago |
PACPUS 2.0 Beta deployed in new branch
Major changes:
-Add communication interface between components
-Add examples for communications interface (TestComponents)
-Move to Qt5 support
|
-
Property svn:executable
set to
*
|
File size:
947 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 |
|
---|
17 | namespace math {
|
---|
18 |
|
---|
19 | /*!
|
---|
20 | * \class math_error
|
---|
21 | * \brief This class describes the math exception
|
---|
22 | */
|
---|
23 | class 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.