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

Comparing trunk/gr2lib/core/coretypes/implementation/ExporterInfo.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 gr2lib.core.helpers;
5   using gr2lib.core.typedefs;
6   using gr2lib.core.interfaces;
7   using System.Diagnostics;
8 + using gr2lib.core.exceptions;
9   namespace gr2lib.core.coretypes.implementation
10   {
11    
# Line 37 | Line 38 | namespace gr2lib.core.coretypes.implemen
38                  managed.NativePointer = pointer;
39                  return managed;
40              }
41 <            catch
41 >            catch (Exception ex)
42              {
43                  StackTrace st = new StackTrace(true);
44   #if  ENABLE_EXCEPTION_OUTPUT_TO_CONSOLE
45 <                Console.WriteLine(st.ToString());
45 >                Granny2ExceptionWriter.WriteToConsole(ex,st);
46   #endif
47                  return default(ExporterInfo);
48              }
# Line 59 | Line 60 | namespace gr2lib.core.coretypes.implemen
60              managed.exporterBuildNumber = native.ExporterBuildNumber;
61              return managed;
62              }
63 <            catch
63 >            catch (Exception ex)
64              {
65                  StackTrace st = new StackTrace(true);
66   #if  ENABLE_EXCEPTION_OUTPUT_TO_CONSOLE
67 <                Console.WriteLine(st.ToString());
67 >                Granny2ExceptionWriter.WriteToConsole(ex,st);
68   #endif
69                  return default(ExporterInfo);
70              }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines