The following commit has been merged in the master branch:
commit 671386495893eff47662b4755a94b8f69ff42a50
Author: Andrei Zavada <[email protected]>
Date:   Sun Feb 3 11:38:32 2013 +0200

    catch no-such-channel condition in setup_modrun

diff --git a/src/model/achermann.cc b/src/model/achermann.cc
index 43ce426..056ebdf 100644
--- a/src/model/achermann.cc
+++ b/src/model/achermann.cc
@@ -101,6 +101,9 @@ setup_modrun( const char* j, const char* d, const char* h,
        } catch (invalid_argument ex) { // thrown by CProfile ctor
                fprintf( stderr, "CExpDesign::setup_modrun( %s, %s, %s): %s\n", 
j, d, h, ex.what());
                return -1;
+       } catch (out_of_range ex) {
+               fprintf( stderr, "CExpDesign::setup_modrun( %s, %s, %s): %s\n", 
j, d, h, ex.what());
+               return -1;
        } catch (int ex) { // thrown by CModelRun ctor
                log_message( "CExpDesign::setup_modrun( %s, %s, %s): %s\n", j, 
d, h, CProfile::explain_status(ex).c_str());
                return ex;

-- 
Sleep experiment manager

_______________________________________________
debian-med-commit mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/debian-med-commit

Reply via email to