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

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

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

--- trunk/gr2lib/core/coretypes/implementation/Map.cs	2010/07/17 05:09:42	94
+++ trunk/gr2lib/core/coretypes/implementation/Map.cs	2010/07/17 05:10:22	95
@@ -4,6 +4,7 @@
 using System.Text;
 using gr2lib.core.helpers;
 using gr2lib.core.interfaces;
+using System.Diagnostics;
 namespace gr2lib.core.coretypes.implementation
 {
     public class Map : IMap
@@ -26,7 +27,8 @@
             }
             catch (Exception ex)
             {
-                Console.WriteLine(ex.ToString());
+                StackTrace st = new StackTrace(true);
+                Console.WriteLine(st.ToString() + "\n\n" + "Stack Trace: \n" + ex.ToString());
                 return default(Map);
             }
         }
@@ -42,7 +44,8 @@
             }
             catch (Exception ex)
             {
-                Console.WriteLine(ex.ToString());
+                StackTrace st = new StackTrace(true);
+                Console.WriteLine(st.ToString() + "\n\n" + "Stack Trace: \n" + ex.ToString());
                 return default(Map);
             }
         }

 

  ViewVC Help
Powered by ViewVC 1.1.22