fw4spl
RuntimeException.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 __FWRUNTIME_RUNTIMEEXCEPTION_HPP__
8 #define __FWRUNTIME_RUNTIMEEXCEPTION_HPP__
9 
10 #include <exception>
11 #include <string>
12 
13 #include <fwCore/Exception.hpp>
14 
15 #include "fwRuntime/config.hpp"
16 
17 
18 namespace fwRuntime
19 {
20 
21 
28 struct FWRUNTIME_CLASS_API RuntimeException : public ::fwCore::Exception
29 {
30 
36  FWRUNTIME_API RuntimeException(const RuntimeException& exception) noexcept;
37 
43  FWRUNTIME_API RuntimeException(const std::string& message) noexcept;
44 
48  FWRUNTIME_API virtual ~RuntimeException() noexcept;
49 
50 };
51 
52 
53 } // namespace fwRuntime
54 
55 
56 #endif // __FWRUNTIME_RUNTIMEEXCEPTION_HPP__
Defines the runtime exception class.
The namespace fwRuntime contains classes to manage bundle, configuration element, extension point in ...