fw4spl
core/fwCore/include/fwCore/Exception.hpp
1 /* ***** BEGIN LICENSE BLOCK *****
2  * FW4SPL - Copyright (C) IRCAD, 2009-2015.
3  * Distributed under the terms of the GNU Lesser General Public License (LGPL) as
4  * published by the Free Software Foundation.
5  * ****** END LICENSE BLOCK ****** */
6 
7 
8 #ifndef __FWCORE_EXCEPTION_HPP__
9 #define __FWCORE_EXCEPTION_HPP__
10 
11 
12 #include <stdexcept>
13 #include <string>
14 
15 #include <boost/exception/exception.hpp>
16 
17 #include "fwCore/config.hpp"
18 
19 namespace fwCore
20 {
21 
22 
23 class FWCORE_CLASS_API Exception : public std::runtime_error
24 {
25 
26 public:
27  FWCORE_API Exception ( const std::string &err );
28 
29 };
30 
31 } //namespace fwCore
32 
33 #endif //__FWCORE_EXCEPTION_HPP__
This namespace fwCore provides common foundations for FW4SPL.
Definition: BaseObject.hpp:16