fw4spl
RuntimeException.cpp
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 #include <fwCore/base.hpp>
8 
9 #include "fwRuntime/RuntimeException.hpp"
10 
11 
12 namespace fwRuntime
13 {
14 
15 
17  : ::fwCore::Exception(std::string(exception.what()))
18 {
19  SLM_WARN( this->what() );
20 }
21 
22 
23 RuntimeException::RuntimeException(const std::string& message) noexcept
24  : ::fwCore::Exception(message)
25 {
26  SLM_WARN( this->what() );
27 }
28 
29 
31 {
32 }
33 
34 } // namespace fwRuntime
FWRUNTIME_API RuntimeException(const RuntimeException &exception) noexcept
Copy constructor.
virtual FWRUNTIME_API ~RuntimeException() noexcept
Destructor : does nothing.
Defines the runtime exception class.
#define SLM_WARN(message)
Definition: spyLog.hpp:261
The namespace fwRuntime contains classes to manage bundle, configuration element, extension point in ...