/[gr2lib]/trunk/gr2lib/core/coreclasses/header/granny_header.cs
ViewVC logotype

Diff of /trunk/gr2lib/core/coreclasses/header/granny_header.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 6  using System.Text; Line 6  using System.Text;
6  using gr2lib.core.interfaces;  using gr2lib.core.interfaces;
7  using gr2lib.core.helpers;  using gr2lib.core.helpers;
8  using System.Diagnostics;  using System.Diagnostics;
9    using gr2lib.core.exceptions;
10    
11  namespace gr2lib.core.coreclasses.header  namespace gr2lib.core.coreclasses.header
12  {  {
# Line 45  namespace gr2lib.core.coreclasses.header Line 46  namespace gr2lib.core.coreclasses.header
46                  managed.NativePointer = pointer;                  managed.NativePointer = pointer;
47                  return managed;                  return managed;
48              }              }
49              catch              catch (Exception ex)
50              {              {
51                  StackTrace st = new StackTrace(true);                  StackTrace st = new StackTrace(true);
52  #if  ENABLE_EXCEPTION_OUTPUT_TO_CONSOLE  #if  ENABLE_EXCEPTION_OUTPUT_TO_CONSOLE
53                  Console.WriteLine(st.ToString());                  Granny2ExceptionWriter.WriteToConsole(ex,st);
54  #endif  #endif
55                  return default(granny_header);                  return default(granny_header);
56              }              }
# Line 88  namespace gr2lib.core.coreclasses.header Line 89  namespace gr2lib.core.coreclasses.header
89                  //process header                  //process header
90                  return managed;                  return managed;
91              }              }
92              catch              catch (Exception ex)
93              {              {
94                  StackTrace st = new StackTrace(true);                  StackTrace st = new StackTrace(true);
95  #if  ENABLE_EXCEPTION_OUTPUT_TO_CONSOLE  #if  ENABLE_EXCEPTION_OUTPUT_TO_CONSOLE
96                  Console.WriteLine(st.ToString());                  Granny2ExceptionWriter.WriteToConsole(ex,st);
97  #endif  #endif
98                  return default(granny_header);                  return default(granny_header);
99              }              }

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

  ViewVC Help
Powered by ViewVC 1.1.22