[mapguide-commits] r4708 - in sandbox/adsk/2.2gp/Web/src: mapadmin mapviewerjava mapviewernet mapviewerphp schemareport

svn_mapguide at osgeo.org svn_mapguide at osgeo.org
Fri Mar 26 16:26:02 EDT 2010


Author: brucedechant
Date: 2010-03-26 16:26:01 -0400 (Fri, 26 Mar 2010)
New Revision: 4708

Modified:
   sandbox/adsk/2.2gp/Web/src/mapadmin/addgroup.php
   sandbox/adsk/2.2gp/Web/src/mapadmin/addserver.php
   sandbox/adsk/2.2gp/Web/src/mapadmin/addunmanageddata.php
   sandbox/adsk/2.2gp/Web/src/mapadmin/adduser.php
   sandbox/adsk/2.2gp/Web/src/mapadmin/assignroles.php
   sandbox/adsk/2.2gp/Web/src/mapadmin/displaypackagelog.php
   sandbox/adsk/2.2gp/Web/src/mapadmin/downloadlogfile.php
   sandbox/adsk/2.2gp/Web/src/mapadmin/editgroup.php
   sandbox/adsk/2.2gp/Web/src/mapadmin/editunmanageddata.php
   sandbox/adsk/2.2gp/Web/src/mapadmin/edituser.php
   sandbox/adsk/2.2gp/Web/src/mapadmin/groupmanagement.php
   sandbox/adsk/2.2gp/Web/src/mapadmin/grouprolemanagement.php
   sandbox/adsk/2.2gp/Web/src/mapadmin/help.php
   sandbox/adsk/2.2gp/Web/src/mapadmin/loadpackage.php
   sandbox/adsk/2.2gp/Web/src/mapadmin/logmanagement.php
   sandbox/adsk/2.2gp/Web/src/mapadmin/logproperties.php
   sandbox/adsk/2.2gp/Web/src/mapadmin/makepackage.php
   sandbox/adsk/2.2gp/Web/src/mapadmin/packagemanagement.php
   sandbox/adsk/2.2gp/Web/src/mapadmin/serverdatafunctions.php
   sandbox/adsk/2.2gp/Web/src/mapadmin/servermanagement.php
   sandbox/adsk/2.2gp/Web/src/mapadmin/serverproperties.php
   sandbox/adsk/2.2gp/Web/src/mapadmin/servicesproperties.php
   sandbox/adsk/2.2gp/Web/src/mapadmin/unmanageddatamanagement.php
   sandbox/adsk/2.2gp/Web/src/mapadmin/usermanagement.php
   sandbox/adsk/2.2gp/Web/src/mapadmin/userrolemanagement.php
   sandbox/adsk/2.2gp/Web/src/mapadmin/viewcurrentlog.php
   sandbox/adsk/2.2gp/Web/src/mapadmin/viewcurrentlogbottom.php
   sandbox/adsk/2.2gp/Web/src/mapadmin/viewcurrentlogtop.php
   sandbox/adsk/2.2gp/Web/src/mapadmin/viewserverstatus.php
   sandbox/adsk/2.2gp/Web/src/mapadmin/viewserverstatusbottom.php
   sandbox/adsk/2.2gp/Web/src/mapadmin/viewserverstatustop.php
   sandbox/adsk/2.2gp/Web/src/mapadmin/wfsproperties.php
   sandbox/adsk/2.2gp/Web/src/mapadmin/wmsproperties.php
   sandbox/adsk/2.2gp/Web/src/mapviewerjava/mainframe.jsp
   sandbox/adsk/2.2gp/Web/src/mapviewerjava/search.jsp
   sandbox/adsk/2.2gp/Web/src/mapviewerjava/serveradminhelper.jsp
   sandbox/adsk/2.2gp/Web/src/mapviewernet/buffer.aspx
   sandbox/adsk/2.2gp/Web/src/mapviewernet/measure.aspx
   sandbox/adsk/2.2gp/Web/src/mapviewernet/search.aspx
   sandbox/adsk/2.2gp/Web/src/mapviewernet/serveradminhelper.aspx
   sandbox/adsk/2.2gp/Web/src/mapviewerphp/capturerequest.php
   sandbox/adsk/2.2gp/Web/src/mapviewerphp/createlayer.php
   sandbox/adsk/2.2gp/Web/src/mapviewerphp/legend.php
   sandbox/adsk/2.2gp/Web/src/mapviewerphp/mainframe.php
   sandbox/adsk/2.2gp/Web/src/mapviewerphp/serveradminhelper.php
   sandbox/adsk/2.2gp/Web/src/schemareport/displayschema.php
   sandbox/adsk/2.2gp/Web/src/schemareport/main.php
   sandbox/adsk/2.2gp/Web/src/schemareport/showclass.php
   sandbox/adsk/2.2gp/Web/src/schemareport/showgeom.php
Log:
Fix for trac ticket 1292 - Update to PHP 5.3
http://trac.osgeo.org/mapguide/ticket/1292

Notes:
- Update mapadmin, viewers, and schema report
- Change API GetMessage() to GetExceptionMessage() due to PHP conflict


Modified: sandbox/adsk/2.2gp/Web/src/mapadmin/addgroup.php
===================================================================
--- sandbox/adsk/2.2gp/Web/src/mapadmin/addgroup.php	2010-03-26 20:08:49 UTC (rev 4707)
+++ sandbox/adsk/2.2gp/Web/src/mapadmin/addgroup.php	2010-03-26 20:26:01 UTC (rev 4708)
@@ -97,7 +97,7 @@
     catch ( MgException $e )
     {
         CheckForFatalMgException( $e );
-        $errorMsg = $e->GetMessage();
+        $errorMsg = $e->GetExceptionMessage();
     }
     catch ( Exception $e )
     {

Modified: sandbox/adsk/2.2gp/Web/src/mapadmin/addserver.php
===================================================================
--- sandbox/adsk/2.2gp/Web/src/mapadmin/addserver.php	2010-03-26 20:08:49 UTC (rev 4707)
+++ sandbox/adsk/2.2gp/Web/src/mapadmin/addserver.php	2010-03-26 20:26:01 UTC (rev 4708)
@@ -82,7 +82,7 @@
 catch ( MgException $e )
 {
     CheckForFatalMgException( $e );
-    $errorMsg = $e->GetMessage();
+    $errorMsg = $e->GetExceptionMessage();
 }
 catch ( Exception $e )
 {

Modified: sandbox/adsk/2.2gp/Web/src/mapadmin/addunmanageddata.php
===================================================================
--- sandbox/adsk/2.2gp/Web/src/mapadmin/addunmanageddata.php	2010-03-26 20:08:49 UTC (rev 4707)
+++ sandbox/adsk/2.2gp/Web/src/mapadmin/addunmanageddata.php	2010-03-26 20:26:01 UTC (rev 4708)
@@ -107,7 +107,7 @@
 catch ( MgException $e )
 {
     CheckForFatalMgException( $e );
-    $errorMsg = $e->GetMessage();
+    $errorMsg = $e->GetExceptionMessage();
 }
 catch ( Exception $e )
 {

Modified: sandbox/adsk/2.2gp/Web/src/mapadmin/adduser.php
===================================================================
--- sandbox/adsk/2.2gp/Web/src/mapadmin/adduser.php	2010-03-26 20:08:49 UTC (rev 4707)
+++ sandbox/adsk/2.2gp/Web/src/mapadmin/adduser.php	2010-03-26 20:26:01 UTC (rev 4708)
@@ -127,7 +127,7 @@
     catch ( MgException $e )
     {
         CheckForFatalMgException( $e );
-        $errorMsg = $e->GetMessage();
+        $errorMsg = $e->GetExceptionMessage();
     }
     catch ( Exception $e )
     {

Modified: sandbox/adsk/2.2gp/Web/src/mapadmin/assignroles.php
===================================================================
--- sandbox/adsk/2.2gp/Web/src/mapadmin/assignroles.php	2010-03-26 20:08:49 UTC (rev 4707)
+++ sandbox/adsk/2.2gp/Web/src/mapadmin/assignroles.php	2010-03-26 20:26:01 UTC (rev 4708)
@@ -153,7 +153,7 @@
 catch ( MgException $e )
 {
     CheckForFatalMgException( $e );
-    $errorMsg = $e->GetMessage();
+    $errorMsg = $e->GetExceptionMessage();
 }
 catch ( Exception $e )
 {

Modified: sandbox/adsk/2.2gp/Web/src/mapadmin/displaypackagelog.php
===================================================================
--- sandbox/adsk/2.2gp/Web/src/mapadmin/displaypackagelog.php	2010-03-26 20:08:49 UTC (rev 4707)
+++ sandbox/adsk/2.2gp/Web/src/mapadmin/displaypackagelog.php	2010-03-26 20:26:01 UTC (rev 4708)
@@ -70,7 +70,7 @@
 catch ( MgException $e )
 {
     CheckForFatalMgException( $e );
-    $errorMsg = $e->GetMessage();
+    $errorMsg = $e->GetExceptionMessage();
 }
 catch ( Exception $e )
 {

Modified: sandbox/adsk/2.2gp/Web/src/mapadmin/downloadlogfile.php
===================================================================
--- sandbox/adsk/2.2gp/Web/src/mapadmin/downloadlogfile.php	2010-03-26 20:08:49 UTC (rev 4707)
+++ sandbox/adsk/2.2gp/Web/src/mapadmin/downloadlogfile.php	2010-03-26 20:26:01 UTC (rev 4708)
@@ -72,7 +72,7 @@
     {
         CheckForFatalMgException( $e );
         if ( empty( $errorMsg ) )
-            $errorMsg = $e->GetMessage();
+            $errorMsg = $e->GetExceptionMessage();
     }
     catch ( Exception $e )
     {

Modified: sandbox/adsk/2.2gp/Web/src/mapadmin/editgroup.php
===================================================================
--- sandbox/adsk/2.2gp/Web/src/mapadmin/editgroup.php	2010-03-26 20:08:49 UTC (rev 4707)
+++ sandbox/adsk/2.2gp/Web/src/mapadmin/editgroup.php	2010-03-26 20:26:01 UTC (rev 4708)
@@ -117,7 +117,7 @@
 catch ( MgException $e )
 {
     CheckForFatalMgException( $e );
-    $errorMsg = $e->GetMessage();
+    $errorMsg = $e->GetExceptionMessage();
 }
 catch ( Exception $e )
 {

Modified: sandbox/adsk/2.2gp/Web/src/mapadmin/editunmanageddata.php
===================================================================
--- sandbox/adsk/2.2gp/Web/src/mapadmin/editunmanageddata.php	2010-03-26 20:08:49 UTC (rev 4707)
+++ sandbox/adsk/2.2gp/Web/src/mapadmin/editunmanageddata.php	2010-03-26 20:26:01 UTC (rev 4708)
@@ -119,7 +119,7 @@
 catch ( MgException $e )
 {
     CheckForFatalMgException( $e );
-    $errorMsg = $e->GetMessage();
+    $errorMsg = $e->GetExceptionMessage();
 }
 catch ( Exception $e )
 {

Modified: sandbox/adsk/2.2gp/Web/src/mapadmin/edituser.php
===================================================================
--- sandbox/adsk/2.2gp/Web/src/mapadmin/edituser.php	2010-03-26 20:08:49 UTC (rev 4707)
+++ sandbox/adsk/2.2gp/Web/src/mapadmin/edituser.php	2010-03-26 20:26:01 UTC (rev 4708)
@@ -139,7 +139,7 @@
 catch ( MgException $e )
 {
     CheckForFatalMgException( $e );
-    $errorMsg = $e->GetMessage();
+    $errorMsg = $e->GetExceptionMessage();
 }
 catch ( Exception $e )
 {

Modified: sandbox/adsk/2.2gp/Web/src/mapadmin/groupmanagement.php
===================================================================
--- sandbox/adsk/2.2gp/Web/src/mapadmin/groupmanagement.php	2010-03-26 20:08:49 UTC (rev 4707)
+++ sandbox/adsk/2.2gp/Web/src/mapadmin/groupmanagement.php	2010-03-26 20:26:01 UTC (rev 4708)
@@ -72,7 +72,7 @@
     catch ( MgException $e )
     {
         CheckForFatalMgException( $e );
-        $errorMsg = $e->GetMessage();
+        $errorMsg = $e->GetExceptionMessage();
     }
     catch ( Exception $e )
     {
@@ -99,7 +99,7 @@
 {
     CheckForFatalMgException( $e );
     if ( empty( $errorMsg ) )
-    $errorMsg = $e->GetMessage();
+    $errorMsg = $e->GetExceptionMessage();
 }
 catch ( Exception $e )
 {

Modified: sandbox/adsk/2.2gp/Web/src/mapadmin/grouprolemanagement.php
===================================================================
--- sandbox/adsk/2.2gp/Web/src/mapadmin/grouprolemanagement.php	2010-03-26 20:08:49 UTC (rev 4707)
+++ sandbox/adsk/2.2gp/Web/src/mapadmin/grouprolemanagement.php	2010-03-26 20:26:01 UTC (rev 4708)
@@ -115,7 +115,7 @@
 catch ( MgException $e )
 {
     CheckForFatalMgException( $e );
-    $errorMsg = $e->GetMessage();
+    $errorMsg = $e->GetExceptionMessage();
 }
 catch ( Exception $e )
 {
@@ -150,7 +150,7 @@
 {
     CheckForFatalMgException( $e );
     if ( empty( $errorMsg ) )
-    $errorMsg = $e->GetMessage();
+    $errorMsg = $e->GetExceptionMessage();
 }
 catch ( Exception $e )
 {

Modified: sandbox/adsk/2.2gp/Web/src/mapadmin/help.php
===================================================================
--- sandbox/adsk/2.2gp/Web/src/mapadmin/help.php	2010-03-26 20:08:49 UTC (rev 4707)
+++ sandbox/adsk/2.2gp/Web/src/mapadmin/help.php	2010-03-26 20:26:01 UTC (rev 4708)
@@ -51,7 +51,7 @@
     catch ( MgException $e )
     {
         CheckForFatalMgException( $e );
-        $errorMsg = $e->GetMessage();
+        $errorMsg = $e->GetExceptionMessage();
     }
     catch ( Exception $e )
     {

Modified: sandbox/adsk/2.2gp/Web/src/mapadmin/loadpackage.php
===================================================================
--- sandbox/adsk/2.2gp/Web/src/mapadmin/loadpackage.php	2010-03-26 20:08:49 UTC (rev 4707)
+++ sandbox/adsk/2.2gp/Web/src/mapadmin/loadpackage.php	2010-03-26 20:26:01 UTC (rev 4708)
@@ -62,7 +62,7 @@
 catch ( MgException $e )
 {
     CheckForFatalMgException( $e );
-    $packageLoadErrorMsg = $e->GetMessage();
+    $packageLoadErrorMsg = $e->GetExceptionMessage();
 }
 catch ( Exception $e )
 {

Modified: sandbox/adsk/2.2gp/Web/src/mapadmin/logmanagement.php
===================================================================
--- sandbox/adsk/2.2gp/Web/src/mapadmin/logmanagement.php	2010-03-26 20:08:49 UTC (rev 4707)
+++ sandbox/adsk/2.2gp/Web/src/mapadmin/logmanagement.php	2010-03-26 20:26:01 UTC (rev 4708)
@@ -96,7 +96,7 @@
     catch ( MgException $e )
     {
         CheckForFatalMgException( $e );
-        $errorMsg = $e->GetMessage();
+        $errorMsg = $e->GetExceptionMessage();
     }
     catch ( Exception $e )
     {
@@ -125,7 +125,7 @@
     {
         CheckForFatalMgException( $e );
         if ( empty( $errorMsg ) )
-            $errorMsg = $e->GetMessage();
+            $errorMsg = $e->GetExceptionMessage();
     }
     catch ( Exception $e )
     {

Modified: sandbox/adsk/2.2gp/Web/src/mapadmin/logproperties.php
===================================================================
--- sandbox/adsk/2.2gp/Web/src/mapadmin/logproperties.php	2010-03-26 20:08:49 UTC (rev 4707)
+++ sandbox/adsk/2.2gp/Web/src/mapadmin/logproperties.php	2010-03-26 20:26:01 UTC (rev 4708)
@@ -222,7 +222,7 @@
 catch ( MgException $e )
 {
     CheckForFatalMgException( $e );
-    $errorMsg = $e->GetMessage();
+    $errorMsg = $e->GetExceptionMessage();
 }
 catch ( Exception $e )
 {

Modified: sandbox/adsk/2.2gp/Web/src/mapadmin/makepackage.php
===================================================================
--- sandbox/adsk/2.2gp/Web/src/mapadmin/makepackage.php	2010-03-26 20:08:49 UTC (rev 4707)
+++ sandbox/adsk/2.2gp/Web/src/mapadmin/makepackage.php	2010-03-26 20:26:01 UTC (rev 4708)
@@ -98,7 +98,7 @@
 catch ( MgException $e )
 {
     CheckForFatalMgException( $e );
-    $packageMakeErrorMsg = sprintf( $errCannotCreatePackage, $packageName, $folderName ).$e->GetMessage();
+    $packageMakeErrorMsg = sprintf( $errCannotCreatePackage, $packageName, $folderName ).$e->GetExceptionMessage();
 }
 catch ( Exception $e )
 {

Modified: sandbox/adsk/2.2gp/Web/src/mapadmin/packagemanagement.php
===================================================================
--- sandbox/adsk/2.2gp/Web/src/mapadmin/packagemanagement.php	2010-03-26 20:08:49 UTC (rev 4707)
+++ sandbox/adsk/2.2gp/Web/src/mapadmin/packagemanagement.php	2010-03-26 20:26:01 UTC (rev 4708)
@@ -160,7 +160,7 @@
         {
             CheckForFatalMgException( $e );
             if ( empty( $packageLoadErrorMsg ) )
-                $packageLoadErrorMsg = $e->GetMessage();
+                $packageLoadErrorMsg = $e->GetExceptionMessage();
         }
         catch ( Exception $e )
         {
@@ -182,7 +182,7 @@
 {
     CheckForFatalMgException( $e );
     if ( empty( $packageLoadErrorMsg ) )
-        $packageLoadErrorMsg = $e->GetMessage();
+        $packageLoadErrorMsg = $e->GetExceptionMessage();
 }
 catch ( Exception $e )
 {

Modified: sandbox/adsk/2.2gp/Web/src/mapadmin/serverdatafunctions.php
===================================================================
--- sandbox/adsk/2.2gp/Web/src/mapadmin/serverdatafunctions.php	2010-03-26 20:08:49 UTC (rev 4707)
+++ sandbox/adsk/2.2gp/Web/src/mapadmin/serverdatafunctions.php	2010-03-26 20:26:01 UTC (rev 4708)
@@ -1874,7 +1874,7 @@
             }
             catch ( MgException $e )
             {
-                $this->status = sprintf( $errCannotGetPackageStatus, $e->GetMessage() );
+                $this->status = sprintf( $errCannotGetPackageStatus, $e->GetExceptionMessage() );
             }
         }
     }

Modified: sandbox/adsk/2.2gp/Web/src/mapadmin/servermanagement.php
===================================================================
--- sandbox/adsk/2.2gp/Web/src/mapadmin/servermanagement.php	2010-03-26 20:08:49 UTC (rev 4707)
+++ sandbox/adsk/2.2gp/Web/src/mapadmin/servermanagement.php	2010-03-26 20:26:01 UTC (rev 4708)
@@ -101,7 +101,7 @@
 catch ( MgException $e )
 {
     CheckForFatalMgException( $e );
-    $errorMsg = $e->GetMessage();
+    $errorMsg = $e->GetExceptionMessage();
 }
 catch ( Exception $e )
 {
@@ -158,7 +158,7 @@
 {
     CheckForFatalMgException( $e );
     if ( empty( $errorMsg ) )
-    $errorMsg = $e->GetMessage();
+    $errorMsg = $e->GetExceptionMessage();
 }
 catch ( Exception $e )
 {

Modified: sandbox/adsk/2.2gp/Web/src/mapadmin/serverproperties.php
===================================================================
--- sandbox/adsk/2.2gp/Web/src/mapadmin/serverproperties.php	2010-03-26 20:08:49 UTC (rev 4707)
+++ sandbox/adsk/2.2gp/Web/src/mapadmin/serverproperties.php	2010-03-26 20:26:01 UTC (rev 4708)
@@ -171,7 +171,7 @@
 catch ( MgException $e )
 {
     CheckForFatalMgException( $e );
-    $errorMsg = $e->GetMessage();
+    $errorMsg = $e->GetExceptionMessage();
 }
 catch ( Exception $e )
 {

Modified: sandbox/adsk/2.2gp/Web/src/mapadmin/servicesproperties.php
===================================================================
--- sandbox/adsk/2.2gp/Web/src/mapadmin/servicesproperties.php	2010-03-26 20:08:49 UTC (rev 4707)
+++ sandbox/adsk/2.2gp/Web/src/mapadmin/servicesproperties.php	2010-03-26 20:26:01 UTC (rev 4708)
@@ -136,7 +136,7 @@
 catch ( MgException $e )
 {
     CheckForFatalMgException( $e );
-    $errorMsg = $e->GetMessage();
+    $errorMsg = $e->GetExceptionMessage();
 }
 catch ( Exception $e )
 {

Modified: sandbox/adsk/2.2gp/Web/src/mapadmin/unmanageddatamanagement.php
===================================================================
--- sandbox/adsk/2.2gp/Web/src/mapadmin/unmanageddatamanagement.php	2010-03-26 20:08:49 UTC (rev 4707)
+++ sandbox/adsk/2.2gp/Web/src/mapadmin/unmanageddatamanagement.php	2010-03-26 20:26:01 UTC (rev 4708)
@@ -113,7 +113,7 @@
 catch ( MgException $e )
 {
     CheckForFatalMgException( $e );
-    $errorMsg = $e->GetMessage();
+    $errorMsg = $e->GetExceptionMessage();
 }
 catch ( Exception $e )
 {
@@ -156,7 +156,7 @@
 {
     CheckForFatalMgException( $e );
     if ( empty( $errorMsg ) )
-        $errorMsg = $e->GetMessage();
+        $errorMsg = $e->GetExceptionMessage();
 }
 catch ( Exception $e )
 {

Modified: sandbox/adsk/2.2gp/Web/src/mapadmin/usermanagement.php
===================================================================
--- sandbox/adsk/2.2gp/Web/src/mapadmin/usermanagement.php	2010-03-26 20:08:49 UTC (rev 4707)
+++ sandbox/adsk/2.2gp/Web/src/mapadmin/usermanagement.php	2010-03-26 20:26:01 UTC (rev 4708)
@@ -97,7 +97,7 @@
     catch ( MgException $e )
     {
         CheckForFatalMgException( $e );
-        $errorMsg = $e->GetMessage();
+        $errorMsg = $e->GetExceptionMessage();
     }
     catch ( Exception $e )
     {
@@ -120,7 +120,7 @@
     {
         CheckForFatalMgException( $e );
         if ( empty( $errorMsg ) )
-            $errorMsg = $e->GetMessage();
+            $errorMsg = $e->GetExceptionMessage();
     }
     catch ( Exception $e )
     {

Modified: sandbox/adsk/2.2gp/Web/src/mapadmin/userrolemanagement.php
===================================================================
--- sandbox/adsk/2.2gp/Web/src/mapadmin/userrolemanagement.php	2010-03-26 20:08:49 UTC (rev 4707)
+++ sandbox/adsk/2.2gp/Web/src/mapadmin/userrolemanagement.php	2010-03-26 20:26:01 UTC (rev 4708)
@@ -125,7 +125,7 @@
 catch ( MgException $e )
 {
     CheckForFatalMgException( $e );
-    $errorMsg = $e->GetMessage();
+    $errorMsg = $e->GetExceptionMessage();
 }
 catch ( Exception $e )
 {
@@ -160,7 +160,7 @@
 {
     CheckForFatalMgException( $e );
     if ( empty( $errorMsg ) )
-    $errorMsg = $e->GetMessage();
+    $errorMsg = $e->GetExceptionMessage();
 }
 catch ( Exception $e )
 {

Modified: sandbox/adsk/2.2gp/Web/src/mapadmin/viewcurrentlog.php
===================================================================
--- sandbox/adsk/2.2gp/Web/src/mapadmin/viewcurrentlog.php	2010-03-26 20:08:49 UTC (rev 4707)
+++ sandbox/adsk/2.2gp/Web/src/mapadmin/viewcurrentlog.php	2010-03-26 20:26:01 UTC (rev 4708)
@@ -41,7 +41,7 @@
     {
         CheckForFatalMgException( $e );
         if ( empty( $errorMsg ) )
-            $errorMsg = $e->GetMessage();
+            $errorMsg = $e->GetExceptionMessage();
     }
     catch ( Exception $e )
     {

Modified: sandbox/adsk/2.2gp/Web/src/mapadmin/viewcurrentlogbottom.php
===================================================================
--- sandbox/adsk/2.2gp/Web/src/mapadmin/viewcurrentlogbottom.php	2010-03-26 20:08:49 UTC (rev 4707)
+++ sandbox/adsk/2.2gp/Web/src/mapadmin/viewcurrentlogbottom.php	2010-03-26 20:26:01 UTC (rev 4708)
@@ -86,7 +86,7 @@
     {
         CheckForFatalMgException( $e );
         if ( empty( $errorMsg ) )
-            $errorMsg = $e->GetMessage();
+            $errorMsg = $e->GetExceptionMessage();
     }
     catch ( Exception $e )
     {

Modified: sandbox/adsk/2.2gp/Web/src/mapadmin/viewcurrentlogtop.php
===================================================================
--- sandbox/adsk/2.2gp/Web/src/mapadmin/viewcurrentlogtop.php	2010-03-26 20:08:49 UTC (rev 4707)
+++ sandbox/adsk/2.2gp/Web/src/mapadmin/viewcurrentlogtop.php	2010-03-26 20:26:01 UTC (rev 4708)
@@ -90,7 +90,7 @@
     {
         CheckForFatalMgException( $e );
         if ( empty( $errorMsg ) )
-            $errorMsg = $e->GetMessage();
+            $errorMsg = $e->GetExceptionMessage();
     }
     catch ( Exception $e )
     {

Modified: sandbox/adsk/2.2gp/Web/src/mapadmin/viewserverstatus.php
===================================================================
--- sandbox/adsk/2.2gp/Web/src/mapadmin/viewserverstatus.php	2010-03-26 20:08:49 UTC (rev 4707)
+++ sandbox/adsk/2.2gp/Web/src/mapadmin/viewserverstatus.php	2010-03-26 20:26:01 UTC (rev 4708)
@@ -37,7 +37,7 @@
     {
         CheckForFatalMgException( $e );
         if ( empty( $errorMsg ) )
-            $errorMsg = $e->GetMessage();
+            $errorMsg = $e->GetExceptionMessage();
     }
     catch ( Exception $e )
     {

Modified: sandbox/adsk/2.2gp/Web/src/mapadmin/viewserverstatusbottom.php
===================================================================
--- sandbox/adsk/2.2gp/Web/src/mapadmin/viewserverstatusbottom.php	2010-03-26 20:08:49 UTC (rev 4707)
+++ sandbox/adsk/2.2gp/Web/src/mapadmin/viewserverstatusbottom.php	2010-03-26 20:26:01 UTC (rev 4708)
@@ -248,7 +248,7 @@
     {
         CheckForFatalMgException( $e );
         if ( empty( $errorMsg ) )
-            $errorMsg = $e->GetMessage();
+            $errorMsg = $e->GetExceptionMessage();
     }
     catch ( Exception $e )
     {

Modified: sandbox/adsk/2.2gp/Web/src/mapadmin/viewserverstatustop.php
===================================================================
--- sandbox/adsk/2.2gp/Web/src/mapadmin/viewserverstatustop.php	2010-03-26 20:08:49 UTC (rev 4707)
+++ sandbox/adsk/2.2gp/Web/src/mapadmin/viewserverstatustop.php	2010-03-26 20:26:01 UTC (rev 4708)
@@ -63,7 +63,7 @@
     {
         CheckForFatalMgException( $e );
         if ( empty( $errorMsg ) )
-            $errorMsg = $e->GetMessage();
+            $errorMsg = $e->GetExceptionMessage();
     }
     catch ( Exception $e )
     {

Modified: sandbox/adsk/2.2gp/Web/src/mapadmin/wfsproperties.php
===================================================================
--- sandbox/adsk/2.2gp/Web/src/mapadmin/wfsproperties.php	2010-03-26 20:08:49 UTC (rev 4707)
+++ sandbox/adsk/2.2gp/Web/src/mapadmin/wfsproperties.php	2010-03-26 20:26:01 UTC (rev 4708)
@@ -58,7 +58,7 @@
 catch ( MgException $e )
 {
     CheckForFatalMgException( $e );
-    $errorMsg = $e->GetMessage();
+    $errorMsg = $e->GetExceptionMessage();
 }
 catch ( Exception $e )
 {

Modified: sandbox/adsk/2.2gp/Web/src/mapadmin/wmsproperties.php
===================================================================
--- sandbox/adsk/2.2gp/Web/src/mapadmin/wmsproperties.php	2010-03-26 20:08:49 UTC (rev 4707)
+++ sandbox/adsk/2.2gp/Web/src/mapadmin/wmsproperties.php	2010-03-26 20:26:01 UTC (rev 4708)
@@ -58,7 +58,7 @@
 catch ( MgException $e )
 {
     CheckForFatalMgException( $e );
-    $errorMsg = $e->GetMessage();
+    $errorMsg = $e->GetExceptionMessage();
 }
 catch ( Exception $e )
 {

Modified: sandbox/adsk/2.2gp/Web/src/mapviewerjava/mainframe.jsp
===================================================================
--- sandbox/adsk/2.2gp/Web/src/mapviewerjava/mainframe.jsp	2010-03-26 20:08:49 UTC (rev 4707)
+++ sandbox/adsk/2.2gp/Web/src/mapviewerjava/mainframe.jsp	2010-03-26 20:26:01 UTC (rev 4708)
@@ -539,7 +539,7 @@
 }
 catch(MgException e)
 {
-    String msg = EscapeForHtml(e.GetMessage());
+    String msg = EscapeForHtml(e.GetExceptionMessage());
     response.getWriter().write(msg);
     response.setContentLength(msg.length());
 }

Modified: sandbox/adsk/2.2gp/Web/src/mapviewerjava/search.jsp
===================================================================
--- sandbox/adsk/2.2gp/Web/src/mapviewerjava/search.jsp	2010-03-26 20:08:49 UTC (rev 4707)
+++ sandbox/adsk/2.2gp/Web/src/mapviewerjava/search.jsp	2010-03-26 20:26:01 UTC (rev 4708)
@@ -258,7 +258,7 @@
             // Close the feature reader
             features.Close();
         }
-        OnError(searchError, ae.GetMessage() + "<br>" + ae.GetStackTrace(), outStream, request);
+        OnError(searchError, ae.GetExceptionMessage() + "<br>" + ae.GetStackTrace(), outStream, request);
     }
     catch(SearchError exc)
     {

Modified: sandbox/adsk/2.2gp/Web/src/mapviewerjava/serveradminhelper.jsp
===================================================================
--- sandbox/adsk/2.2gp/Web/src/mapviewerjava/serveradminhelper.jsp	2010-03-26 20:08:49 UTC (rev 4707)
+++ sandbox/adsk/2.2gp/Web/src/mapviewerjava/serveradminhelper.jsp	2010-03-26 20:26:01 UTC (rev 4708)
@@ -142,7 +142,7 @@
     }
     catch (MgException mge)
     {
-        outStream.write(mge.GetMessage());
+        outStream.write(mge.GetExceptionMessage());
         outStream.write(mge.GetDetails());
     }
 

Modified: sandbox/adsk/2.2gp/Web/src/mapviewernet/buffer.aspx
===================================================================
--- sandbox/adsk/2.2gp/Web/src/mapviewernet/buffer.aspx	2010-03-26 20:08:49 UTC (rev 4707)
+++ sandbox/adsk/2.2gp/Web/src/mapviewernet/buffer.aspx	2010-03-26 20:26:01 UTC (rev 4708)
@@ -358,7 +358,7 @@
     }
     catch (MgException exc)
     {
-        OnError(MgLocalizer.GetString("BUFFERERROR", locale), exc.GetMessage());
+        OnError(MgLocalizer.GetString("BUFFERERROR", locale), exc.GetExceptionMessage());
         return;
     }
     catch (Exception ne)

Modified: sandbox/adsk/2.2gp/Web/src/mapviewernet/measure.aspx
===================================================================
--- sandbox/adsk/2.2gp/Web/src/mapviewernet/measure.aspx	2010-03-26 20:08:49 UTC (rev 4707)
+++ sandbox/adsk/2.2gp/Web/src/mapviewernet/measure.aspx	2010-03-26 20:26:01 UTC (rev 4708)
@@ -218,7 +218,7 @@
         }
         catch (MgException exc)
         {
-            OnError(MgLocalizer.GetString("MEASUREERROR", locale), exc.GetMessage());
+            OnError(MgLocalizer.GetString("MEASUREERROR", locale), exc.GetExceptionMessage());
             return;
         }
         catch (Exception ne)

Modified: sandbox/adsk/2.2gp/Web/src/mapviewernet/search.aspx
===================================================================
--- sandbox/adsk/2.2gp/Web/src/mapviewernet/search.aspx	2010-03-26 20:08:49 UTC (rev 4707)
+++ sandbox/adsk/2.2gp/Web/src/mapviewernet/search.aspx	2010-03-26 20:26:01 UTC (rev 4708)
@@ -247,7 +247,7 @@
                 // Close the feature reader
                 features.Close();
             }
-            OnError(searchError, ae.GetMessage() + "<br>" + ae.GetStackTrace());
+            OnError(searchError, ae.GetExceptionMessage() + "<br>" + ae.GetStackTrace());
         }
         catch (SearchError exc)
         {

Modified: sandbox/adsk/2.2gp/Web/src/mapviewernet/serveradminhelper.aspx
===================================================================
--- sandbox/adsk/2.2gp/Web/src/mapviewernet/serveradminhelper.aspx	2010-03-26 20:08:49 UTC (rev 4707)
+++ sandbox/adsk/2.2gp/Web/src/mapviewernet/serveradminhelper.aspx	2010-03-26 20:26:01 UTC (rev 4708)
@@ -130,7 +130,7 @@
     }
     catch (MgException mge)
     {
-        Response.Write(mge.GetMessage());
+        Response.Write(mge.GetExceptionMessage());
         Response.Write(mge.GetDetails());
     }
 }

Modified: sandbox/adsk/2.2gp/Web/src/mapviewerphp/capturerequest.php
===================================================================
--- sandbox/adsk/2.2gp/Web/src/mapviewerphp/capturerequest.php	2010-03-26 20:08:49 UTC (rev 4707)
+++ sandbox/adsk/2.2gp/Web/src/mapviewerphp/capturerequest.php	2010-03-26 20:26:01 UTC (rev 4708)
@@ -114,7 +114,7 @@
         }
         catch (SqliteException $s)
         {
-            print $s->GetMessage('eng');
+            print $s->GetExceptionMessage('eng');
         }
     }
 

Modified: sandbox/adsk/2.2gp/Web/src/mapviewerphp/createlayer.php
===================================================================
--- sandbox/adsk/2.2gp/Web/src/mapviewerphp/createlayer.php	2010-03-26 20:08:49 UTC (rev 4707)
+++ sandbox/adsk/2.2gp/Web/src/mapviewerphp/createlayer.php	2010-03-26 20:26:01 UTC (rev 4708)
@@ -79,7 +79,7 @@
 }
 catch (MgException $e)
 {
-    $errorMsg = EscapeForHtml($e->GetMessage());
+    $errorMsg = EscapeForHtml($e->GetExceptionMessage());
     echo $errorMsg;
 }
 ?>

Modified: sandbox/adsk/2.2gp/Web/src/mapviewerphp/legend.php
===================================================================
--- sandbox/adsk/2.2gp/Web/src/mapviewerphp/legend.php	2010-03-26 20:08:49 UTC (rev 4707)
+++ sandbox/adsk/2.2gp/Web/src/mapviewerphp/legend.php	2010-03-26 20:26:01 UTC (rev 4708)
@@ -107,7 +107,7 @@
     }
     catch(MgException $e)
     {
-        $errorMsg = EscapeForHtml($e->GetMessage());
+        $errorMsg = EscapeForHtml($e->GetExceptionMessage());
         $traceMsg = EscapeForHtml($e->GetStackTrace());
         echo $errorMsg . "<p>" . $traceMsg;
         return;

Modified: sandbox/adsk/2.2gp/Web/src/mapviewerphp/mainframe.php
===================================================================
--- sandbox/adsk/2.2gp/Web/src/mapviewerphp/mainframe.php	2010-03-26 20:08:49 UTC (rev 4707)
+++ sandbox/adsk/2.2gp/Web/src/mapviewerphp/mainframe.php	2010-03-26 20:26:01 UTC (rev 4708)
@@ -99,7 +99,7 @@
         }
         catch(MgException $e)
         {
-            $shortError = $e->GetMessage();
+            $shortError = $e->GetExceptionMessage();
             $longErrorMsg = EscapeForHtml($e->GetDetails());
             header("HTTP/1.1 559 ");
             header('Content-Type: text/html; charset=utf-8');
@@ -525,7 +525,7 @@
         // This should be a 500 error of some sort, but
         // in order to give a nice custom error message, it looks as
         // if we shortcut things by using a 200 status.
-        $shortError = $e->GetMessage();
+        $shortError = $e->GetExceptionMessage();
         $longErrorMsg = EscapeForHtml($e->GetDetails());
         header("HTTP/1.1 200 ");
         header('Content-Type: text/html; charset=utf-8');

Modified: sandbox/adsk/2.2gp/Web/src/mapviewerphp/serveradminhelper.php
===================================================================
--- sandbox/adsk/2.2gp/Web/src/mapviewerphp/serveradminhelper.php	2010-03-26 20:08:49 UTC (rev 4707)
+++ sandbox/adsk/2.2gp/Web/src/mapviewerphp/serveradminhelper.php	2010-03-26 20:26:01 UTC (rev 4708)
@@ -123,7 +123,7 @@
     }
     catch (MgException $e)
     {
-         print $e->GetMessage('eng');
+         print $e->GetExceptionMessage('eng');
          print $e->GetDetails('eng');
     }
 ?>

Modified: sandbox/adsk/2.2gp/Web/src/schemareport/displayschema.php
===================================================================
--- sandbox/adsk/2.2gp/Web/src/schemareport/displayschema.php	2010-03-26 20:08:49 UTC (rev 4707)
+++ sandbox/adsk/2.2gp/Web/src/schemareport/displayschema.php	2010-03-26 20:26:01 UTC (rev 4708)
@@ -123,7 +123,7 @@
             }
             catch (MgException $e)
             {
-                $errorMsg = $e->GetMessage();
+                $errorMsg = $e->GetExceptionMessage();
                 $errorMsg = str_replace('\n', '<br>', $errorMsg);
                 echo $errorMsg;
             }

Modified: sandbox/adsk/2.2gp/Web/src/schemareport/main.php
===================================================================
--- sandbox/adsk/2.2gp/Web/src/schemareport/main.php	2010-03-26 20:08:49 UTC (rev 4707)
+++ sandbox/adsk/2.2gp/Web/src/schemareport/main.php	2010-03-26 20:26:01 UTC (rev 4708)
@@ -53,7 +53,7 @@
             }
             catch (MgException $e)
             {
-                echo $e->GetMessage();
+                echo $e->GetExceptionMessage();
             }
         ?>
 

Modified: sandbox/adsk/2.2gp/Web/src/schemareport/showclass.php
===================================================================
--- sandbox/adsk/2.2gp/Web/src/schemareport/showclass.php	2010-03-26 20:08:49 UTC (rev 4707)
+++ sandbox/adsk/2.2gp/Web/src/schemareport/showclass.php	2010-03-26 20:26:01 UTC (rev 4708)
@@ -156,7 +156,7 @@
             }
             catch (MgException $e)
             {
-                echo $e->GetMessage();
+                echo $e->GetExceptionMessage();
             }
 
         ?>

Modified: sandbox/adsk/2.2gp/Web/src/schemareport/showgeom.php
===================================================================
--- sandbox/adsk/2.2gp/Web/src/schemareport/showgeom.php	2010-03-26 20:08:49 UTC (rev 4707)
+++ sandbox/adsk/2.2gp/Web/src/schemareport/showgeom.php	2010-03-26 20:26:01 UTC (rev 4708)
@@ -198,7 +198,7 @@
             catch (MgException $mge)
             {
                 $validSession = 0;
-                echo $mge->GetMessage();
+                echo $mge->GetExceptionMessage();
             }
             catch (Exception $e)
             {



More information about the mapguide-commits mailing list