[mapguide-commits] r6298 - in trunk/Tools/Maestro: Doc Maestro.Base/Properties Maestro.Base/UI

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Tue Dec 6 06:07:58 EST 2011


Author: jng
Date: 2011-12-06 03:07:58 -0800 (Tue, 06 Dec 2011)
New Revision: 6298

Modified:
   trunk/Tools/Maestro/Doc/MaestroAPI.shfbproj
   trunk/Tools/Maestro/Maestro.Base/Properties/Resources.Designer.cs
   trunk/Tools/Maestro/Maestro.Base/Properties/Resources.resx
   trunk/Tools/Maestro/Maestro.Base/UI/ProfilingDialog.cs
Log:
#1319: More API documentation updates. Also write out the full gory exception details if an exception occurs during profiling

Modified: trunk/Tools/Maestro/Doc/MaestroAPI.shfbproj
===================================================================
--- trunk/Tools/Maestro/Doc/MaestroAPI.shfbproj	2011-12-06 05:28:15 UTC (rev 6297)
+++ trunk/Tools/Maestro/Doc/MaestroAPI.shfbproj	2011-12-06 11:07:58 UTC (rev 6298)
@@ -105,7 +105,6 @@
     <None Include="Topics\Deployment_AspNet.aml" />
     <None Include="Topics\Deployment_Desktop.aml" />
     <None Include="Topics\Deployment.aml" />
-    <None Include="Topics\VSSetup.aml" />
     <None Include="Topics\Concept_ObjectModels.aml" />
     <None Include="Topics\Concept_Services.aml" />
     <None Include="Topics\Concept_Services.aml" />

Modified: trunk/Tools/Maestro/Maestro.Base/Properties/Resources.Designer.cs
===================================================================
--- trunk/Tools/Maestro/Maestro.Base/Properties/Resources.Designer.cs	2011-12-06 05:28:15 UTC (rev 6297)
+++ trunk/Tools/Maestro/Maestro.Base/Properties/Resources.Designer.cs	2011-12-06 11:07:58 UTC (rev 6298)
@@ -1491,8 +1491,7 @@
         }
         
         /// <summary>
-        ///   Looks up a localized string similar to Failed while profiling LayerDefinition: {0},
-        ///Error message: {1}.
+        ///   Looks up a localized string similar to Failed while profiling Layer Definition: {0}{2}============= ERROR DETAILS =========={2}{1}{2} ======== END ERROR DETAILS =============.
         /// </summary>
         internal static string Prof_LayerDefinitionProfilingError {
             get {
@@ -1609,8 +1608,7 @@
         }
         
         /// <summary>
-        ///   Looks up a localized string similar to Failed while profiling MapDefinition rendering: {0},
-        ///Error message: {1}.
+        ///   Looks up a localized string similar to Failed while profiling MapDefinition rendering: {0}{2}============= ERROR DETAILS =========={2}{1}{2} ======== END ERROR DETAILS =============.
         /// </summary>
         internal static string Prof_MapRenderingError {
             get {
@@ -1628,8 +1626,7 @@
         }
         
         /// <summary>
-        ///   Looks up a localized string similar to Failed while profiling MapDefinition runtime: {0},
-        ///Error message: {1}.
+        ///   Looks up a localized string similar to Failed while profiling MapDefinition runtime {0}{2}============= ERROR DETAILS =========={2}{1}{2} ======== END ERROR DETAILS =============.
         /// </summary>
         internal static string Prof_RuntimeMapProfilingError {
             get {

Modified: trunk/Tools/Maestro/Maestro.Base/Properties/Resources.resx
===================================================================
--- trunk/Tools/Maestro/Maestro.Base/Properties/Resources.resx	2011-12-06 05:28:15 UTC (rev 6297)
+++ trunk/Tools/Maestro/Maestro.Base/Properties/Resources.resx	2011-12-06 11:07:58 UTC (rev 6298)
@@ -906,8 +906,7 @@
     <comment>The text on the close button</comment>
   </data>
   <data name="Prof_LayerDefinitionProfilingError" xml:space="preserve">
-    <value>Failed while profiling LayerDefinition: {0},
-Error message: {1}</value>
+    <value>Failed while profiling Layer Definition: {0}{2}============= ERROR DETAILS =========={2}{1}{2} ======== END ERROR DETAILS =============</value>
     <comment>An error message that is displayed when the layer definition profiling fails</comment>
   </data>
   <data name="Prof_LogMessageDone" xml:space="preserve">
@@ -959,13 +958,11 @@
     <comment>A message written in the log if a certain resource is not supported</comment>
   </data>
   <data name="Prof_MapRenderingError" xml:space="preserve">
-    <value>Failed while profiling MapDefinition rendering: {0},
-Error message: {1}</value>
+    <value>Failed while profiling MapDefinition rendering: {0}{2}============= ERROR DETAILS =========={2}{1}{2} ======== END ERROR DETAILS =============</value>
     <comment>An error message displayed when profiling mapdefinition rendering fails</comment>
   </data>
   <data name="Prof_RuntimeMapProfilingError" xml:space="preserve">
-    <value>Failed while profiling MapDefinition runtime: {0},
-Error message: {1}</value>
+    <value>Failed while profiling MapDefinition runtime {0}{2}============= ERROR DETAILS =========={2}{1}{2} ======== END ERROR DETAILS =============</value>
     <comment>An error message displayed when profiling a mapdefinition fails</comment>
   </data>
   <data name="Prof_MapRenderingImageSize" xml:space="preserve">

Modified: trunk/Tools/Maestro/Maestro.Base/UI/ProfilingDialog.cs
===================================================================
--- trunk/Tools/Maestro/Maestro.Base/UI/ProfilingDialog.cs	2011-12-06 05:28:15 UTC (rev 6297)
+++ trunk/Tools/Maestro/Maestro.Base/UI/ProfilingDialog.cs	2011-12-06 11:07:58 UTC (rev 6298)
@@ -147,8 +147,8 @@
                 }
                 catch (Exception ex)
                 {
-                    string msg = NestedExceptionMessageProcessor.GetFullMessage(ex);
-                    backgroundWorker.ReportProgress(0, (string.Format(Properties.Resources.Prof_LayerDefinitionProfilingError, resourceId, msg)));
+                    //string msg = NestedExceptionMessageProcessor.GetFullMessage(ex);
+                    backgroundWorker.ReportProgress(0, (string.Format(Properties.Resources.Prof_LayerDefinitionProfilingError, resourceId, ex.ToString(), Environment.NewLine)));
                 }
             }
 
@@ -275,8 +275,8 @@
                     }
                     catch (Exception ex)
                     {
-                        string msg = NestedExceptionMessageProcessor.GetFullMessage(ex);
-                        backgroundWorker.ReportProgress(0, (string.Format(Properties.Resources.Prof_LayerDefinitionProfilingError, ml.ResourceId, msg)));
+                        //string msg = NestedExceptionMessageProcessor.GetFullMessage(ex);
+                        backgroundWorker.ReportProgress(0, (string.Format(Properties.Resources.Prof_LayerDefinitionProfilingError, ml.ResourceId, ex.ToString(), Environment.NewLine)));
                     }
                 }
 
@@ -298,8 +298,8 @@
                                 }
                                 catch (Exception ex)
                                 {
-                                    string msg = NestedExceptionMessageProcessor.GetFullMessage(ex);
-                                    backgroundWorker.ReportProgress(0, (string.Format(Properties.Resources.Prof_LayerDefinitionProfilingError, ml.ResourceId, msg)));
+                                    //string msg = NestedExceptionMessageProcessor.GetFullMessage(ex);
+                                    backgroundWorker.ReportProgress(0, (string.Format(Properties.Resources.Prof_LayerDefinitionProfilingError, ml.ResourceId, ex.ToString(), Environment.NewLine)));
                                 }
                             }
                         }
@@ -323,8 +323,8 @@
             }
             catch (Exception ex)
             {
-                string msg = NestedExceptionMessageProcessor.GetFullMessage(ex);
-                backgroundWorker.ReportProgress(0, (string.Format(Properties.Resources.Prof_RuntimeMapProfilingError, resourceId, msg)));
+                //string msg = NestedExceptionMessageProcessor.GetFullMessage(ex);
+                backgroundWorker.ReportProgress(0, (string.Format(Properties.Resources.Prof_RuntimeMapProfilingError, resourceId, ex.ToString(), Environment.NewLine)));
             }
 
             try
@@ -355,8 +355,8 @@
             }
             catch (Exception ex)
             {
-                string msg = NestedExceptionMessageProcessor.GetFullMessage(ex);
-                backgroundWorker.ReportProgress(0, (string.Format(Properties.Resources.Prof_MapRenderingError, resourceId, msg)));
+                //string msg = NestedExceptionMessageProcessor.GetFullMessage(ex);
+                backgroundWorker.ReportProgress(0, (string.Format(Properties.Resources.Prof_MapRenderingError, resourceId, ex.ToString(), Environment.NewLine)));
             }
         }
 



More information about the mapguide-commits mailing list