fw4spl
core/fwData/include/fwData/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 __FWDATA_EXCEPTION_HPP__
8 #define __FWDATA_EXCEPTION_HPP__
9 
10 #include "fwCore/Exception.hpp"
11 #include "fwData/config.hpp"
12 
13 #include <exception>
14 #include <string>
15 
16 namespace fwData
17 {
18 
22 class FWDATA_CLASS_API Exception : public ::fwCore::Exception
23 {
24 public:
25 
31  FWDATA_API Exception(const std::string &message) noexcept;
32 
36  FWDATA_API ~Exception() noexcept;
37 };
38 
39 } // namespace fwData
40 
41 #endif // __FWDATA_EXCEPTION_HPP__
42 
Implements data exception class.
Contains the representation of the data objects used in the framework.