/** * * This file is part of the PACPUS framework distributed under the * CECILL-C License, Version 1.0. * * @author Marek Kurdej * @date December, 2012 * @version $Id$ * @copyright Copyright (c) UTC/CNRS Heudiasyc 2005 - 2013. All rights reserved. * */ #ifndef DEF_PACPUS_DBITEEXCEPTION_H #define DEF_PACPUS_DBITEEXCEPTION_H #include #include #include namespace pacpus { /** DbiteException * @brief Exception thrown when an error manipulation a dbite file occured. */ class FILELIB_API DbiteException : public std::exception { public: /** Ctor of DbiteException. * @param what Information about the exception. */ DbiteException(const std::string& what); /** Dtor of DbiteException. */ ~DbiteException() throw(); /** Get more information about the error. * @return Message containing information about the error. */ virtual const char* what() const throw(); private: std::string mWhat; }; } // namespace pacpus #endif // DEF_PACPUS_DBITEEXCEPTION_H