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

Diff of /trunk/gr2lib/core/coretypes/implementation/Image.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 4  using System.Text; Line 4  using System.Text;
4  using gr2lib.core.helpers;  using gr2lib.core.helpers;
5  using gr2lib.core.interfaces;  using gr2lib.core.interfaces;
6  using System.Diagnostics;  using System.Diagnostics;
7    using gr2lib.core.exceptions;
8  namespace gr2lib.core.coretypes.implementation  namespace gr2lib.core.coretypes.implementation
9  {  {
10      public class Image : IImage      public class Image : IImage
# Line 27  namespace gr2lib.core.coretypes.implemen Line 28  namespace gr2lib.core.coretypes.implemen
28              managed.NativePointer = pointer;              managed.NativePointer = pointer;
29              return managed;              return managed;
30              }              }
31              catch              catch (Exception ex)
32              {              {
33                  StackTrace st = new StackTrace(true);                  StackTrace st = new StackTrace(true);
34  #if  ENABLE_EXCEPTION_OUTPUT_TO_CONSOLE  #if  ENABLE_EXCEPTION_OUTPUT_TO_CONSOLE
35                  Console.WriteLine(st.ToString());                  Granny2ExceptionWriter.WriteToConsole(ex,st);
36  #endif  #endif
37                  return default(Image);                  return default(Image);
38              }              }
# Line 57  namespace gr2lib.core.coretypes.implemen Line 58  namespace gr2lib.core.coretypes.implemen
58                  }                  }
59                  return managed;                  return managed;
60              }              }
61              catch              catch (Exception ex)
62              {              {
63                  StackTrace st = new StackTrace(true);                  StackTrace st = new StackTrace(true);
64  #if  ENABLE_EXCEPTION_OUTPUT_TO_CONSOLE  #if  ENABLE_EXCEPTION_OUTPUT_TO_CONSOLE
65                  Console.WriteLine(st.ToString());                  Granny2ExceptionWriter.WriteToConsole(ex,st);
66  #endif  #endif
67                  return default(Image);                  return default(Image);
68              }              }

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

  ViewVC Help
Powered by ViewVC 1.1.22