fw4spl
io/fwGdcmIO/include/fwGdcmIO/exception/Failed.hpp
1 /* ***** BEGIN LICENSE BLOCK *****
2  * FW4SPL - Copyright (C) IRCAD, 2009-2016.
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 __FWGDCMIO_EXCEPTION_FAILED_HPP__
8 #define __FWGDCMIO_EXCEPTION_FAILED_HPP__
9 
10 #include "fwGdcmIO/config.hpp"
11 
12 #include <fwCore/Exception.hpp>
13 
14 namespace fwGdcmIO
15 {
16 namespace exception
17 {
18 
22 struct FWGDCMIO_CLASS_API Failed : ::fwCore::Exception
23 {
24  Failed( const std::string& err ) : ::fwCore::Exception(err)
25  {
26  }
27 };
28 
29 } // namespace exception
30 } // namespace fwGdcmIO
31 
32 #endif // __FWGDCMIO_EXCEPTION_FAILED_HPP__
33 
The namespace fwGdcmIO contains reader, writer and helper for dicom data.
Implements a failed exception class for fwGdcmIO.