/[gr2lib]/trunk/gr2lib/core/coretypes/implementation/Skeleton.cs
ViewVC logotype

Diff of /trunk/gr2lib/core/coretypes/implementation/Skeleton.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 102 by william, Sat Jul 17 13:54:18 2010 UTC revision 106 by william, Sat Jul 17 14:52:37 2010 UTC
# Line 5  using System.Text; Line 5  using System.Text;
5  using gr2lib.core.interfaces;  using gr2lib.core.interfaces;
6  using gr2lib.core.helpers;  using gr2lib.core.helpers;
7  using System.Diagnostics;  using System.Diagnostics;
8    using gr2lib.core.exceptions;
9    
10  namespace gr2lib.core.coretypes.implementation  namespace gr2lib.core.coretypes.implementation
11  {  {
# Line 31  namespace gr2lib.core.coretypes.implemen Line 32  namespace gr2lib.core.coretypes.implemen
32              managed.NativePointer = pointer;              managed.NativePointer = pointer;
33              return managed;              return managed;
34              }              }
35              catch              catch (Exception ex)
36              {              {
37                  StackTrace st = new StackTrace(true);                  StackTrace st = new StackTrace(true);
38  #if  ENABLE_EXCEPTION_OUTPUT_TO_CONSOLE  #if  ENABLE_EXCEPTION_OUTPUT_TO_CONSOLE
39                  Console.WriteLine(st.ToString());                  Granny2ExceptionWriter.WriteToConsole(ex,st);
40  #endif  #endif
41                  return default(Skeleton);                  return default(Skeleton);
42              }              }
# Line 63  namespace gr2lib.core.coretypes.implemen Line 64  namespace gr2lib.core.coretypes.implemen
64              managed.ExtendedData = native.ExtendedData;              managed.ExtendedData = native.ExtendedData;
65              return managed;              return managed;
66              }              }
67              catch              catch (Exception ex)
68              {              {
69                  StackTrace st = new StackTrace(true);                  StackTrace st = new StackTrace(true);
70  #if  ENABLE_EXCEPTION_OUTPUT_TO_CONSOLE  #if  ENABLE_EXCEPTION_OUTPUT_TO_CONSOLE
71                  Console.WriteLine(st.ToString());                  Granny2ExceptionWriter.WriteToConsole(ex,st);
72  #endif  #endif
73                  return default(Skeleton);                  return default(Skeleton);
74              }              }

Legend:
Removed from v.102  
changed lines
  Added in v.106

  ViewVC Help
Powered by ViewVC 1.1.22