Changeset 86 in pacpusframework for trunk


Ignore:
Timestamp:
Mar 27, 2013, 2:17:43 PM (12 years ago)
Author:
morasjul
Message:

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

Location:
trunk
Files:
2 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:
  • trunk/src/FileLib/src/DbiteException.cpp

    r76 r86  
    99using namespace pacpus;
    1010
    11 DbiteException::DbiteException(const std::string& what)
    12     : mWhat(what)
    13 {
    14 }
     11//DbiteException::DbiteException(const std::string& what)
     12//    : mWhat(what)
     13//{
     14//}
    1515
    16 DbiteException::~DbiteException() throw()
    17 {
    18 }
     16//DbiteException::~DbiteException() throw()
     17//{
     18//}
    1919
    20 const char* DbiteException::what() const throw()
    21 {
    22     return mWhat.c_str();
    23 }
     20//const char* DbiteException::what() const throw()
     21//{
     22//    return mWhat.c_str();
     23//}
Note: See TracChangeset for help on using the changeset viewer.