Changeset 86 in pacpusframework for trunk/include/Pacpus/kernel/DbiteException.h


Ignore:
Timestamp:
03/27/13 14:17:43 (11 years ago)
Author:
morasjul
Message:

Corriger temporairement un bug de dependance entre FileLib et PacpusLib lie à DBTException

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/Pacpus/kernel/DbiteException.h

    r76 r86  
    3232     * @param what Information about the exception.
    3333     */
    34     DbiteException(const std::string& what);
     34    DbiteException(const std::string& what)
     35        : mWhat(what)
     36    {
     37    }
    3538
    3639    /** Dtor of DbiteException. */
    37     ~DbiteException() throw();
     40    virtual ~DbiteException() throw()
     41    {
     42    }
    3843
    3944    /** Get more information about the error.
    4045     * @return Message containing information about the error.
    4146     */
    42     virtual const char* what() const throw();
     47    virtual const char* what() const throw()
     48    {
     49        return mWhat.c_str();
     50    }
    4351
    4452private:
Note: See TracChangeset for help on using the changeset viewer.