NSIS-ka
A free C++ implementation of NSIS protocols

Changeset 6761


Ignore:
Timestamp:
Mar 4, 2014, 3:00:01 PM (4 years ago)
Author:
bless@…
Message:
  • moved a catch that was covered by catch (std::exception) previously
File:
1 edited

Legend:

Unmodified
Added
Removed
  • protlib/branches/2013-01-18-RELOAD-goltsman/src/threads.cpp

    r6743 r6761  
    164164            << e.getstr() << ']');
    165165  }
     166  catch (bad_alloc&)
     167  {
     168    ERRLog ("Threads", tparam.name << ", num " << thread_num
     169            << ": [out of memory]");
     170  }
    166171  catch (std::exception& e)
    167172  {
     
    169174            << tparam.name << ", num " << thread_num << ", error ["
    170175            << e.what() << ']');
    171   }
    172   catch (bad_alloc&)
    173   {
    174     ERRLog ("Threads", tparam.name << ", num " << thread_num
    175             << ": [out of memory]");
    176176  }
    177177  catch (...)
Note: See TracChangeset for help on using the changeset viewer.