Changeset 315 in pacpusframework for trunk/src/FileLib/src/DbiteFile.cpp


Ignore:
Timestamp:
Jul 28, 2014, 5:11:27 PM (10 years ago)
Author:
Marek Kurdej
Message:

TestFileLib: fixes on errinfo_api_function.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/FileLib/src/DbiteFile.cpp

    r303 r315  
    129129        // TODO: readAndDiagnoseHeader();
    130130        close();
    131         BOOST_THROW_EXCEPTION(e
    132             //<< "cannot read header"
     131        BOOST_THROW_EXCEPTION(DbiteException("cannot read header")
     132            << errinfo_api_function("open")
    133133            << errinfo_nested_exception(copy_exception(e))
    134134        );
Note: See TracChangeset for help on using the changeset viewer.