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

Comparing trunk/gr2lib/core/coretypes/implementation/Map.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 Map : IMap
# Line 25 | Line 26 | namespace gr2lib.core.coretypes.implemen
26              managed.NativePointer = pointer;
27              return managed;
28              }
29 <            catch
29 >            catch (Exception ex)
30              {
31                  StackTrace st = new StackTrace(true);
32   #if  ENABLE_EXCEPTION_OUTPUT_TO_CONSOLE
33 <                Console.WriteLine(st.ToString());
33 >                Granny2ExceptionWriter.WriteToConsole(ex,st);
34   #endif
35                  return default(Map);
36              }
# Line 44 | Line 45 | namespace gr2lib.core.coretypes.implemen
45              managed.MapPointer = native.MapPointer;
46              return managed;
47              }
48 <            catch
48 >            catch (Exception ex)
49              {
50                  StackTrace st = new StackTrace(true);
51   #if  ENABLE_EXCEPTION_OUTPUT_TO_CONSOLE
52 <                Console.WriteLine(st.ToString());
52 >                Granny2ExceptionWriter.WriteToConsole(ex,st);
53   #endif
54                  return default(Map);
55              }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines