Ignore:
Timestamp:
08/01/13 13:16:38 (11 years ago)
Author:
Marek Kurdej
Message:

Added: PacpusException.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0-beta1/include/Pacpus/kernel/DbiteException.h

    r141 r156  
    66/// @author  Marek Kurdej <firstname.surname@utc.fr>
    77/// @date    Month, 2012
    8 /// @version $Id: DbiteException.h 87 2013-03-27 15:38:14Z morasjul $
     8/// @version $Id: DbiteException.h 117 2013-06-25 11:50:46Z kurdejma $
    99/// @copyright Copyright (c) UTC/CNRS Heudiasyc 2006 - 2013. All rights reserved.
    1010/// @brief Brief description.
     
    1616
    1717#include <Pacpus/kernel/FileLibConfig.h>
     18#include <Pacpus/kernel/PacpusException.h>
    1819
    19 #include <exception>
    2020#include <string>
    2121
    2222namespace pacpus {
    2323
    24 /** DbiteException
    25  * @brief Exception thrown when an error manipulation a dbite file occured.
    26  */
     24/// Exception thrown when an error during manipulation a dbite file occurs.
    2725class FILELIB_API DbiteException
    28     : public std::exception
     26    : virtual public PacpusException
    2927{
    3028public:
    31     /** Ctor of DbiteException.
    32      * @param what Information about the exception.
    33      */
    34     DbiteException(const std::string& what);
     29    /// Ctor.
     30    /// @param what Information about the exception.
     31    DbiteException(const std::string & what);
    3532
    36     /** Dtor of DbiteException. */
     33    /// Dtor.
    3734    virtual ~DbiteException() throw();
    38 
    39 
    40     /** Get more information about the error.
    41      * @return Message containing information about the error.
    42      */
    43     virtual const char* what() const throw();
    44 
    45 private:
    46     std::string mWhat;
    4735};
    4836
Note: See TracChangeset for help on using the changeset viewer.