fw4spl
core/fwAtoms/include/fwAtoms/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 #ifndef __FWATOMS_EXCEPTION_HPP__
8 #define __FWATOMS_EXCEPTION_HPP__
9 
10 #include <exception>
11 #include <string>
12 
13 #include <fwCore/Exception.hpp>
14 #include "fwAtoms/config.hpp"
15 
16 namespace fwAtoms
17 {
18 
22 struct FWATOMS_CLASS_API Exception : public ::fwCore::Exception
23 {
24 
30  FWATOMS_API Exception(const std::string &message) noexcept;
31 
35  FWATOMS_API ~Exception() noexcept;
36 
37 
38 };
39 
40 } // namespace fwAtoms
41 
42 #endif // __FWATOMS_EXCEPTION_HPP__
43 
fwAtoms contains basic objects to represent any other kind of object