// %pacpus:license{ // This file is part of the PACPUS framework distributed under the // CECILL-C License, Version 1.0. // %pacpus:license} /// @file /// @author Marek Kurdej /// @date June, 2013 /// @version $Id$ /// @copyright Copyright (c) UTC/CNRS Heudiasyc 2006 - 2013. All rights reserved. /// @brief Brief description. /// /// Detailed description. #ifndef DEF_PACPUS_PACPUSEXCEPTION_H #define DEF_PACPUS_PACPUSEXCEPTION_H #include #include #include #include #include #ifdef _MSC_VER # pragma warning(push) # pragma warning(disable: 4251 4275) #endif // _MSC_VER namespace pacpus { /// Base class for all exceptions in the framework class PACPUSLIB_API PacpusException : /*virtual*/ public std::runtime_error , virtual public boost::exception { public: /// Ctor. /// @param what Information about the exception. PacpusException(std::string const& what = ""); /// Dtor. virtual ~PacpusException(); }; } // namespace pacpus typedef boost::error_info errinfo_signal; #ifdef _MSC_VER # pragma warning(pop) #endif // _MSC_VER #endif // DEF_PACPUS_PACPUSEXCEPTION_H