fw4spl
core/fwTools/include/fwTools/Failed.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 __FWTOOLS_FAILED_HPP__
8 #define __FWTOOLS_FAILED_HPP__
9 
10 #include <exception>
11 #include <string>
12 
13 #include "fwCore/Exception.hpp"
14 #include "fwTools/config.hpp"
15 
16 namespace fwTools
17 {
18 
25 struct FWTOOLS_CLASS_API Failed : public ::fwCore::Exception
26 {
27 
33  FWTOOLS_API Failed(const std::string &message) noexcept;
34 
38  FWTOOLS_API ~Failed() noexcept;
39 
40 
41 };
42 
43 } // namespace fwTools
44 
45 #endif // __FWTOOLS_FAILED_HPP__
The namespace fwTools contains several tools like UUID, factory, dispatche, stringizer, macros, helper.
Implements a failed exception class.