ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/gr2lib/trunk/gr2lib/core/coretypes/implementation/MIPLevel.cs
(Generate patch)

Comparing trunk/gr2lib/core/coretypes/implementation/MIPLevel.cs (file contents):
Revision 105 by william, Sat Jul 17 13:54:18 2010 UTC vs.
Revision 106 by william, Sat Jul 17 14:52:37 2010 UTC

# Line 5 | Line 5 | using System.Text;
5   using gr2lib.core.helpers;
6   using gr2lib.core.interfaces;
7   using System.Diagnostics;
8 + using gr2lib.core.exceptions;
9   namespace gr2lib.core.coretypes.implementation
10   {
11      public class MIPLevel : IMIPLevel
# Line 27 | Line 28 | namespace gr2lib.core.coretypes.implemen
28              managed.NativePointer = pointer;
29              return managed;
30              }
31 <            catch
31 >            catch (Exception ex)
32              {
33                  StackTrace st = new StackTrace(true);
34   #if  ENABLE_EXCEPTION_OUTPUT_TO_CONSOLE
35 <                Console.WriteLine(st.ToString());
35 >                Granny2ExceptionWriter.WriteToConsole(ex,st);
36   #endif
37                  return default(MIPLevel);
38              }
# Line 64 | Line 65 | namespace gr2lib.core.coretypes.implemen
65                  }
66                  return managed;
67              }
68 <            catch
68 >            catch (Exception ex)
69              {
70                  StackTrace st = new StackTrace(true);
71   #if  ENABLE_EXCEPTION_OUTPUT_TO_CONSOLE
72 <                Console.WriteLine(st.ToString());
72 >                Granny2ExceptionWriter.WriteToConsole(ex,st);
73   #endif
74                  return default(MIPLevel);
75              }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines