Changeset 568 for branch_0_3_1


Ignore:
Timestamp:
09/04/08 12:53:33 (11 years ago)
Author:
Eoin
Message:

Testing branch with win32_exception catchers before sending out.

Location:
branch_0_3_1/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branch_0_3_1/src/halEvent.hpp

    r565 r568  
    4949        hal::event_log.post(shared_ptr<hal::EventDetail>( \ 
    5050                new hal::EventMsg(hal::wform(L"%1% access_violation (code %2$x) at %3$x. Bad address %4$x") % hal::to_wstr_shim(FUNCTION) % e.code() % (unsigned)e.where() % (unsigned)e.badAddress(), \ 
    51                         hal::event_logger::dev))); \ 
     51                        hal::event_logger::critical))); \ 
    5252} \ 
    5353catch (const win32_exception& e) \ 
     
    5555        hal::event_log.post(shared_ptr<hal::EventDetail>( \ 
    5656                new hal::EventMsg(hal::wform(L"%1% win32_exception (code %2$x) at %3$x") % hal::to_wstr_shim(FUNCTION) % e.code() % (unsigned)e.where(), \ 
    57                         hal::event_logger::dev))); \ 
     57                        hal::event_logger::critical))); \ 
    5858} \ 
    5959catch(std::exception& e) \ 
     
    6161        hal::event_log.post(shared_ptr<hal::EventDetail>( \ 
    6262                new hal::EventMsg(hal::wform(L"%1% std::exception, %2%") % hal::to_wstr_shim(FUNCTION) % hal::from_utf8(e.what()), \ 
    63                         hal::event_logger::dev))); \ 
     63                        hal::event_logger::critical))); \ 
    6464} \ 
    6565catch(...) \ 
     
    6767        hal::event_log.post(shared_ptr<hal::EventDetail>( \ 
    6868                new hal::EventMsg(hal::wform(L"%1% catch all") % hal::to_wstr_shim(FUNCTION), \ 
    69                         hal::event_logger::dev))); \ 
     69                        hal::event_logger::critical))); \ 
    7070} \ 
    7171 
  • branch_0_3_1/src/halTorrent.cpp

    r567 r568  
    856856        hal::event_log.post(shared_ptr<hal::EventDetail>( \ 
    857857                new hal::EventMsg(hal::wform(L"Torrent property %1% access_violation (code %2$x) at %3$x. Bad address %4$x") % hal::from_utf8(FUNCTION) % e.code() % (unsigned)e.where() % (unsigned)e.badAddress(), \ 
    858                         hal::event_logger::dev))); \ 
     858                        hal::event_logger::critical))); \ 
    859859} \ 
    860860catch (const win32_exception& e) \ 
     
    862862        hal::event_log.post(shared_ptr<hal::EventDetail>( \ 
    863863                new hal::EventMsg(hal::wform(L"Torrent property %1% win32_exception (code %2$x) at %3$x") % hal::from_utf8(FUNCTION) % e.code() % (unsigned)e.where(), \ 
    864                         hal::event_logger::dev))); \ 
     864                        hal::event_logger::critical))); \ 
    865865} \ 
    866866catch (const std::exception& e) \ 
     
    873873        hal::event_log.post(shared_ptr<hal::EventDetail>( \ 
    874874                new hal::EventMsg(hal::wform(L"%1% catch all") % hal::from_utf8(FUNCTION), \ 
    875                         hal::event_logger::dev))); \ 
     875                        hal::event_logger::critical))); \ 
    876876} 
    877877 
     
    891891        hal::event_log.post(shared_ptr<hal::EventDetail>( \ 
    892892                new hal::EventMsg(hal::wform(L"Generic Torrent %1% access_violation (code %2$x) at %3$x. Bad address %4$x (%5%)") % hal::from_utf8(FUNCTION) % e.code() % (unsigned)e.where() % (unsigned)e.badAddress() % TORRENT, \ 
    893                         hal::event_logger::dev))); \ 
     893                        hal::event_logger::critical))); \ 
    894894} \ 
    895895catch (const win32_exception& e) \ 
     
    897897        hal::event_log.post(shared_ptr<hal::EventDetail>( \ 
    898898                new hal::EventMsg(hal::wform(L"Generic Torrent %1% win32_exception (code %2$x) at %3$x (%4%)") % hal::from_utf8(FUNCTION) % e.code() % (unsigned)e.where() % TORRENT, \ 
    899                         hal::event_logger::dev))); \ 
     899                        hal::event_logger::critical))); \ 
    900900} \ 
    901901catch (const std::exception& e) \ 
     
    908908        hal::event_log.post(shared_ptr<hal::EventDetail>( \ 
    909909                new hal::EventMsg(hal::wform(L"Generic Torrent %1% catch all") % hal::from_utf8(FUNCTION), \ 
    910                         hal::event_logger::dev))); \ 
     910                        hal::event_logger::critical))); \ 
    911911} 
    912912 
Note: See TracChangeset for help on using the changeset viewer.