[nemiver/better-variable-format: 7/9] Catch more exceptions at low level



commit 1001579983072e660bfe5d120118f36f7c1e2ff2
Author: Dodji Seketeli <dodji gnome org>
Date:   Sun Sep 12 12:43:22 2010 +0200

    Catch more exceptions at low level
    
    	* src/dbgengine/nmv-dbg-common.cc
    	(OutputHandlerList::submit_command_and_output): Don't let
    	exceptions sneak through here.

 src/dbgengine/nmv-dbg-common.cc |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/src/dbgengine/nmv-dbg-common.cc b/src/dbgengine/nmv-dbg-common.cc
index 9c4d2f0..95e5902 100644
--- a/src/dbgengine/nmv-dbg-common.cc
+++ b/src/dbgengine/nmv-dbg-common.cc
@@ -56,7 +56,9 @@ OutputHandlerList::submit_command_and_output (CommandAndOutput &a_cao)
             ++iter)
     {
         if ((*iter)->can_handle (a_cao)) {
+            NEMIVER_TRY;
             (*iter)->do_handle (a_cao);
+            NEMIVER_CATCH_NOX;
         }
     }
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]