[mapguide-commits] r4758 - in trunk/MgDev/UnitTest:
Common/FoundationTest/DotNetApi
WebTier/MapAgent/MapAgentForms WebTier/Php
svn_mapguide at osgeo.org
svn_mapguide at osgeo.org
Wed Apr 7 16:55:23 EDT 2010
Author: brucedechant
Date: 2010-04-07 16:55:23 -0400 (Wed, 07 Apr 2010)
New Revision: 4758
Modified:
trunk/MgDev/UnitTest/Common/FoundationTest/DotNetApi/ManagedException.cs
trunk/MgDev/UnitTest/WebTier/MapAgent/MapAgentForms/checkwkt.php
trunk/MgDev/UnitTest/WebTier/MapAgent/MapAgentForms/codetowkt.php
trunk/MgDev/UnitTest/WebTier/MapAgent/MapAgentForms/enumeratecategories.php
trunk/MgDev/UnitTest/WebTier/MapAgent/MapAgentForms/enumeratecoordinatesystems.php
trunk/MgDev/UnitTest/WebTier/MapAgent/MapAgentForms/epsgcodetowkt.php
trunk/MgDev/UnitTest/WebTier/MapAgent/MapAgentForms/getbaselibrary.php
trunk/MgDev/UnitTest/WebTier/MapAgent/MapAgentForms/initwebtier.php
trunk/MgDev/UnitTest/WebTier/MapAgent/MapAgentForms/isvalid.php
trunk/MgDev/UnitTest/WebTier/MapAgent/MapAgentForms/wkttocode.php
trunk/MgDev/UnitTest/WebTier/MapAgent/MapAgentForms/wkttoepsgcode.php
trunk/MgDev/UnitTest/WebTier/Php/DrawingServiceAPI.php
trunk/MgDev/UnitTest/WebTier/Php/DrawingServiceHttpRequests.php
trunk/MgDev/UnitTest/WebTier/Php/FeatureServiceAPI.php
trunk/MgDev/UnitTest/WebTier/Php/FeatureServiceHttpRequests.php
trunk/MgDev/UnitTest/WebTier/Php/HtmlPrinter.php
trunk/MgDev/UnitTest/WebTier/Php/LocaleTest.php
trunk/MgDev/UnitTest/WebTier/Php/MappingServiceHttpRequests.php
trunk/MgDev/UnitTest/WebTier/Php/ResourceServiceAPI.php
trunk/MgDev/UnitTest/WebTier/Php/ResourceServiceHttpRequests.php
trunk/MgDev/UnitTest/WebTier/Php/Run.php
trunk/MgDev/UnitTest/WebTier/Php/RunTests.php
trunk/MgDev/UnitTest/WebTier/Php/SiteServiceAPI.php
trunk/MgDev/UnitTest/WebTier/Php/SiteServiceHttpRequests.php
trunk/MgDev/UnitTest/WebTier/Php/Utils.php
trunk/MgDev/UnitTest/WebTier/Php/WebLayoutAPI.php
trunk/MgDev/UnitTest/WebTier/Php/WfsHttpRequests.php
trunk/MgDev/UnitTest/WebTier/Php/WmsHttpRequests.php
trunk/MgDev/UnitTest/WebTier/Php/createSdf.php
trunk/MgDev/UnitTest/WebTier/Php/createSdfUnicode.php
trunk/MgDev/UnitTest/WebTier/Php/setResourceData.php
trunk/MgDev/UnitTest/WebTier/Php/testAwSelection.php
Log:
Fix for trac ticket 1292 - Update to PHP 5.3
http://trac.osgeo.org/mapguide/ticket/1292
Notes:
- Update test pages and unit tests
- Change API GetMessage() to GetExceptionMessage() due to PHP conflict
Modified: trunk/MgDev/UnitTest/Common/FoundationTest/DotNetApi/ManagedException.cs
===================================================================
--- trunk/MgDev/UnitTest/Common/FoundationTest/DotNetApi/ManagedException.cs 2010-04-07 20:42:41 UTC (rev 4757)
+++ trunk/MgDev/UnitTest/Common/FoundationTest/DotNetApi/ManagedException.cs 2010-04-07 20:55:23 UTC (rev 4758)
@@ -39,7 +39,7 @@
{
get
{
- return ((MgException)this).GetMessage();
+ return ((MgException)this).GetExceptionMessage();
}
}
Modified: trunk/MgDev/UnitTest/WebTier/MapAgent/MapAgentForms/checkwkt.php
===================================================================
--- trunk/MgDev/UnitTest/WebTier/MapAgent/MapAgentForms/checkwkt.php 2010-04-07 20:42:41 UTC (rev 4757)
+++ trunk/MgDev/UnitTest/WebTier/MapAgent/MapAgentForms/checkwkt.php 2010-04-07 20:55:23 UTC (rev 4758)
@@ -19,7 +19,7 @@
}
catch ( MgException $e )
{
- $errorMsg = $e->GetMessage();
+ $errorMsg = $e->GetExceptionMessage();
$status = "Fail";
}
catch ( Exception $e )
Modified: trunk/MgDev/UnitTest/WebTier/MapAgent/MapAgentForms/codetowkt.php
===================================================================
--- trunk/MgDev/UnitTest/WebTier/MapAgent/MapAgentForms/codetowkt.php 2010-04-07 20:42:41 UTC (rev 4757)
+++ trunk/MgDev/UnitTest/WebTier/MapAgent/MapAgentForms/codetowkt.php 2010-04-07 20:55:23 UTC (rev 4758)
@@ -21,7 +21,7 @@
}
catch ( MgException $e )
{
- $errorMsg = $e->GetMessage();
+ $errorMsg = $e->GetExceptionMessage();
$status = "Fail";
}
catch ( Exception $e )
Modified: trunk/MgDev/UnitTest/WebTier/MapAgent/MapAgentForms/enumeratecategories.php
===================================================================
--- trunk/MgDev/UnitTest/WebTier/MapAgent/MapAgentForms/enumeratecategories.php 2010-04-07 20:42:41 UTC (rev 4757)
+++ trunk/MgDev/UnitTest/WebTier/MapAgent/MapAgentForms/enumeratecategories.php 2010-04-07 20:55:23 UTC (rev 4758)
@@ -28,7 +28,7 @@
}
catch ( MgException $e )
{
- $errorMsg = $e->GetMessage();
+ $errorMsg = $e->GetExceptionMessage();
$status = "Fail";
}
catch ( Exception $e )
Modified: trunk/MgDev/UnitTest/WebTier/MapAgent/MapAgentForms/enumeratecoordinatesystems.php
===================================================================
--- trunk/MgDev/UnitTest/WebTier/MapAgent/MapAgentForms/enumeratecoordinatesystems.php 2010-04-07 20:42:41 UTC (rev 4757)
+++ trunk/MgDev/UnitTest/WebTier/MapAgent/MapAgentForms/enumeratecoordinatesystems.php 2010-04-07 20:55:23 UTC (rev 4758)
@@ -58,7 +58,7 @@
}
catch ( MgException $e )
{
- $errorMsg = $e->GetMessage();
+ $errorMsg = $e->GetExceptionMessage();
$status = "Fail";
}
catch ( Exception $e )
Modified: trunk/MgDev/UnitTest/WebTier/MapAgent/MapAgentForms/epsgcodetowkt.php
===================================================================
--- trunk/MgDev/UnitTest/WebTier/MapAgent/MapAgentForms/epsgcodetowkt.php 2010-04-07 20:42:41 UTC (rev 4757)
+++ trunk/MgDev/UnitTest/WebTier/MapAgent/MapAgentForms/epsgcodetowkt.php 2010-04-07 20:55:23 UTC (rev 4758)
@@ -22,7 +22,7 @@
}
catch ( MgException $e )
{
- $errorMsg = $e->GetMessage();
+ $errorMsg = $e->GetExceptionMessage();
$status = "Fail";
}
catch ( Exception $e )
Modified: trunk/MgDev/UnitTest/WebTier/MapAgent/MapAgentForms/getbaselibrary.php
===================================================================
--- trunk/MgDev/UnitTest/WebTier/MapAgent/MapAgentForms/getbaselibrary.php 2010-04-07 20:42:41 UTC (rev 4757)
+++ trunk/MgDev/UnitTest/WebTier/MapAgent/MapAgentForms/getbaselibrary.php 2010-04-07 20:55:23 UTC (rev 4758)
@@ -18,7 +18,7 @@
}
catch ( MgException $e )
{
- $errorMsg = $e->GetMessage();
+ $errorMsg = $e->GetExceptionMessage();
$status = "Fail";
}
catch ( Exception $e )
Modified: trunk/MgDev/UnitTest/WebTier/MapAgent/MapAgentForms/initwebtier.php
===================================================================
--- trunk/MgDev/UnitTest/WebTier/MapAgent/MapAgentForms/initwebtier.php 2010-04-07 20:42:41 UTC (rev 4757)
+++ trunk/MgDev/UnitTest/WebTier/MapAgent/MapAgentForms/initwebtier.php 2010-04-07 20:55:23 UTC (rev 4758)
@@ -37,7 +37,7 @@
}
catch ( MgException $e )
{
- $errorMsg = $e->GetMessage();
+ $errorMsg = $e->GetExceptionMessage();
echo $errorMsg;
}
catch ( Exception $e )
Modified: trunk/MgDev/UnitTest/WebTier/MapAgent/MapAgentForms/isvalid.php
===================================================================
--- trunk/MgDev/UnitTest/WebTier/MapAgent/MapAgentForms/isvalid.php 2010-04-07 20:42:41 UTC (rev 4757)
+++ trunk/MgDev/UnitTest/WebTier/MapAgent/MapAgentForms/isvalid.php 2010-04-07 20:55:23 UTC (rev 4758)
@@ -26,7 +26,7 @@
}
catch ( MgException $e )
{
- $errorMsg = $e->GetMessage();
+ $errorMsg = $e->GetExceptionMessage();
$status = "Fail";
}
catch ( Exception $e )
Modified: trunk/MgDev/UnitTest/WebTier/MapAgent/MapAgentForms/wkttocode.php
===================================================================
--- trunk/MgDev/UnitTest/WebTier/MapAgent/MapAgentForms/wkttocode.php 2010-04-07 20:42:41 UTC (rev 4757)
+++ trunk/MgDev/UnitTest/WebTier/MapAgent/MapAgentForms/wkttocode.php 2010-04-07 20:55:23 UTC (rev 4758)
@@ -21,7 +21,7 @@
}
catch ( MgException $e )
{
- $errorMsg = $e->GetMessage();
+ $errorMsg = $e->GetExceptionMessage();
$status = "Fail";
}
catch ( Exception $e )
Modified: trunk/MgDev/UnitTest/WebTier/MapAgent/MapAgentForms/wkttoepsgcode.php
===================================================================
--- trunk/MgDev/UnitTest/WebTier/MapAgent/MapAgentForms/wkttoepsgcode.php 2010-04-07 20:42:41 UTC (rev 4757)
+++ trunk/MgDev/UnitTest/WebTier/MapAgent/MapAgentForms/wkttoepsgcode.php 2010-04-07 20:55:23 UTC (rev 4758)
@@ -21,7 +21,7 @@
}
catch ( MgException $e )
{
- $errorMsg = $e->GetMessage();
+ $errorMsg = $e->GetExceptionMessage();
$status = "Fail";
}
catch ( Exception $e )
Modified: trunk/MgDev/UnitTest/WebTier/Php/DrawingServiceAPI.php
===================================================================
--- trunk/MgDev/UnitTest/WebTier/Php/DrawingServiceAPI.php 2010-04-07 20:42:41 UTC (rev 4757)
+++ trunk/MgDev/UnitTest/WebTier/Php/DrawingServiceAPI.php 2010-04-07 20:55:23 UTC (rev 4758)
@@ -83,7 +83,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -110,7 +110,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -144,7 +144,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
function GetDrawingLayer($paramSet)
@@ -180,7 +180,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -211,7 +211,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -238,7 +238,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -270,7 +270,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -301,7 +301,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
Modified: trunk/MgDev/UnitTest/WebTier/Php/DrawingServiceHttpRequests.php
===================================================================
--- trunk/MgDev/UnitTest/WebTier/Php/DrawingServiceHttpRequests.php 2010-04-07 20:42:41 UTC (rev 4757)
+++ trunk/MgDev/UnitTest/WebTier/Php/DrawingServiceHttpRequests.php 2010-04-07 20:55:23 UTC (rev 4758)
@@ -60,7 +60,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -79,7 +79,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -100,7 +100,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -124,7 +124,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -145,7 +145,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -167,7 +167,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -185,7 +185,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -206,7 +206,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
}
Modified: trunk/MgDev/UnitTest/WebTier/Php/FeatureServiceAPI.php
===================================================================
--- trunk/MgDev/UnitTest/WebTier/Php/FeatureServiceAPI.php 2010-04-07 20:42:41 UTC (rev 4757)
+++ trunk/MgDev/UnitTest/WebTier/Php/FeatureServiceAPI.php 2010-04-07 20:55:23 UTC (rev 4758)
@@ -76,7 +76,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -98,7 +98,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -126,7 +126,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -158,7 +158,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -220,7 +220,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -260,7 +260,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -293,7 +293,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -336,7 +336,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -379,7 +379,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -422,7 +422,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -465,7 +465,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -494,7 +494,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -526,7 +526,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
}
Modified: trunk/MgDev/UnitTest/WebTier/Php/FeatureServiceHttpRequests.php
===================================================================
--- trunk/MgDev/UnitTest/WebTier/Php/FeatureServiceHttpRequests.php 2010-04-07 20:42:41 UTC (rev 4757)
+++ trunk/MgDev/UnitTest/WebTier/Php/FeatureServiceHttpRequests.php 2010-04-07 20:55:23 UTC (rev 4758)
@@ -60,7 +60,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -79,7 +79,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -104,7 +104,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -126,7 +126,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -154,7 +154,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -191,7 +191,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -213,7 +213,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -236,7 +236,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -259,7 +259,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -289,7 +289,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
}
Modified: trunk/MgDev/UnitTest/WebTier/Php/HtmlPrinter.php
===================================================================
--- trunk/MgDev/UnitTest/WebTier/Php/HtmlPrinter.php 2010-04-07 20:42:41 UTC (rev 4757)
+++ trunk/MgDev/UnitTest/WebTier/Php/HtmlPrinter.php 2010-04-07 20:55:23 UTC (rev 4758)
@@ -67,7 +67,7 @@
}
catch (SqliteException $s)
{
- print $s->GetMessage();
+ print $s->GetExceptionMessage();
}
self::printTableEnd();
}
Modified: trunk/MgDev/UnitTest/WebTier/Php/LocaleTest.php
===================================================================
--- trunk/MgDev/UnitTest/WebTier/Php/LocaleTest.php 2010-04-07 20:42:41 UTC (rev 4757)
+++ trunk/MgDev/UnitTest/WebTier/Php/LocaleTest.php 2010-04-07 20:55:23 UTC (rev 4758)
@@ -42,13 +42,13 @@
}
catch (MgException $exc)
{
- header("HTTP/1.1 559".$exc->GetMessage());
- $hdr = "Status: 559 ".$exc->GetMessage();
+ header("HTTP/1.1 559".$exc->GetExceptionMessage());
+ $hdr = "Status: 559 ".$exc->GetExceptionMessage();
header($hdr);
echo "<html>\n";
echo "<body>\n";
echo $hdr."\n";
- echo $exc->GetMessage()."\n";
+ echo $exc->GetExceptionMessage()."\n";
echo $exc->GetDetails()."\n";
echo "</body>\n";
echo "</html>\n";
Modified: trunk/MgDev/UnitTest/WebTier/Php/MappingServiceHttpRequests.php
===================================================================
--- trunk/MgDev/UnitTest/WebTier/Php/MappingServiceHttpRequests.php 2010-04-07 20:42:41 UTC (rev 4757)
+++ trunk/MgDev/UnitTest/WebTier/Php/MappingServiceHttpRequests.php 2010-04-07 20:55:23 UTC (rev 4758)
@@ -91,7 +91,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage().$this->unitTestParamVm->GetErrMsg(), "text/plain");
+ return new Result($s->GetExceptionMessage().$this->unitTestParamVm->GetErrMsg(), "text/plain");
}
}
}
Modified: trunk/MgDev/UnitTest/WebTier/Php/ResourceServiceAPI.php
===================================================================
--- trunk/MgDev/UnitTest/WebTier/Php/ResourceServiceAPI.php 2010-04-07 20:42:41 UTC (rev 4757)
+++ trunk/MgDev/UnitTest/WebTier/Php/ResourceServiceAPI.php 2010-04-07 20:55:23 UTC (rev 4758)
@@ -90,7 +90,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -150,7 +150,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -183,7 +183,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -217,7 +217,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -249,7 +249,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -279,7 +279,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -314,7 +314,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -363,7 +363,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -402,7 +402,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -439,7 +439,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -470,7 +470,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -501,7 +501,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -560,7 +560,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -591,7 +591,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -636,7 +636,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -678,7 +678,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -715,7 +715,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -746,7 +746,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -774,7 +774,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
Modified: trunk/MgDev/UnitTest/WebTier/Php/ResourceServiceHttpRequests.php
===================================================================
--- trunk/MgDev/UnitTest/WebTier/Php/ResourceServiceHttpRequests.php 2010-04-07 20:42:41 UTC (rev 4757)
+++ trunk/MgDev/UnitTest/WebTier/Php/ResourceServiceHttpRequests.php 2010-04-07 20:55:23 UTC (rev 4758)
@@ -69,7 +69,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -102,7 +102,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -120,7 +120,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -141,7 +141,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -159,7 +159,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -177,7 +177,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -198,7 +198,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -229,7 +229,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -253,7 +253,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -274,7 +274,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -295,7 +295,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -318,7 +318,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -350,7 +350,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -368,7 +368,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -386,7 +386,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -404,7 +404,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -425,7 +425,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -446,7 +446,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -464,7 +464,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
}
Modified: trunk/MgDev/UnitTest/WebTier/Php/Run.php
===================================================================
--- trunk/MgDev/UnitTest/WebTier/Php/Run.php 2010-04-07 20:42:41 UTC (rev 4757)
+++ trunk/MgDev/UnitTest/WebTier/Php/Run.php 2010-04-07 20:55:23 UTC (rev 4758)
@@ -119,12 +119,12 @@
}
catch (MgException $e)
{
- print $e->GetMessage('en');
+ print $e->GetExceptionMessage('en');
return false;
}
catch (SqliteException $s)
{
- print $s->GetMessage();
+ print $s->GetExceptionMessage();
return false;
}
}
@@ -142,11 +142,11 @@
}
catch (MgException $e)
{
- print $e->GetMessage('en');
+ print $e->GetExceptionMessage('en');
}
catch (SqliteException $s)
{
- print $s->GetMessage();
+ print $s->GetExceptionMessage();
}
}
@@ -225,11 +225,11 @@
}
catch (MgException $e)
{
- print $e->GetMessage("en")."\n";
+ print $e->GetExceptionMessage("en")."\n";
}
catch (SqliteException $s)
{
- print $s->GetMessage()."\n";
+ print $s->GetExceptionMessage()."\n";
}
}
Modified: trunk/MgDev/UnitTest/WebTier/Php/RunTests.php
===================================================================
--- trunk/MgDev/UnitTest/WebTier/Php/RunTests.php 2010-04-07 20:42:41 UTC (rev 4757)
+++ trunk/MgDev/UnitTest/WebTier/Php/RunTests.php 2010-04-07 20:55:23 UTC (rev 4758)
@@ -138,7 +138,7 @@
}
catch (SqliteException $s)
{
- print $s->GetMessage();
+ print $s->GetExceptionMessage();
return 1;
}
}
Modified: trunk/MgDev/UnitTest/WebTier/Php/SiteServiceAPI.php
===================================================================
--- trunk/MgDev/UnitTest/WebTier/Php/SiteServiceAPI.php 2010-04-07 20:42:41 UTC (rev 4757)
+++ trunk/MgDev/UnitTest/WebTier/Php/SiteServiceAPI.php 2010-04-07 20:55:23 UTC (rev 4758)
@@ -81,7 +81,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -97,7 +97,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -120,7 +120,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -168,7 +168,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -199,7 +199,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -232,7 +232,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -255,7 +255,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -280,7 +280,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
function RevokeRoleMembershipsFromUsers($paramSet)
@@ -304,7 +304,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -329,7 +329,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -354,7 +354,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -379,7 +379,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -417,7 +417,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -455,7 +455,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -481,7 +481,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -509,7 +509,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -531,7 +531,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -556,7 +556,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -581,7 +581,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -606,7 +606,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -625,7 +625,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -653,7 +653,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -684,7 +684,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -706,7 +706,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -729,7 +729,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -754,7 +754,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -779,7 +779,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
}
Modified: trunk/MgDev/UnitTest/WebTier/Php/SiteServiceHttpRequests.php
===================================================================
--- trunk/MgDev/UnitTest/WebTier/Php/SiteServiceHttpRequests.php 2010-04-07 20:42:41 UTC (rev 4757)
+++ trunk/MgDev/UnitTest/WebTier/Php/SiteServiceHttpRequests.php 2010-04-07 20:55:23 UTC (rev 4758)
@@ -61,7 +61,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -76,7 +76,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
}
Modified: trunk/MgDev/UnitTest/WebTier/Php/Utils.php
===================================================================
--- trunk/MgDev/UnitTest/WebTier/Php/Utils.php 2010-04-07 20:42:41 UTC (rev 4757)
+++ trunk/MgDev/UnitTest/WebTier/Php/Utils.php 2010-04-07 20:55:23 UTC (rev 4758)
@@ -45,7 +45,7 @@
catch (MgException $e)
{
- print ($e->GetMessage("en"));
+ print ($e->GetExceptionMessage("en"));
}
catch (SqliteException $s)
{
@@ -65,7 +65,7 @@
}
catch (SqliteException $sq)
{
- print ($sq->GetMessage("eng"));
+ print ($sq->GetExceptionMessage("eng"));
}
}
}
@@ -154,7 +154,7 @@
}
catch (MgException $e)
{
- return $e->GetMessage();
+ return $e->GetExceptionMessage();
}
}
@@ -176,7 +176,7 @@
}
catch (MgException $e)
{
- return $e->GetMessage();
+ return $e->GetExceptionMessage();
}
}
@@ -191,7 +191,7 @@
}
catch (MgException $e)
{
- return $e->GetMessage();
+ return $e->GetExceptionMessage();
}
Modified: trunk/MgDev/UnitTest/WebTier/Php/WebLayoutAPI.php
===================================================================
--- trunk/MgDev/UnitTest/WebTier/Php/WebLayoutAPI.php 2010-04-07 20:42:41 UTC (rev 4757)
+++ trunk/MgDev/UnitTest/WebTier/Php/WebLayoutAPI.php 2010-04-07 20:55:23 UTC (rev 4758)
@@ -293,7 +293,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
Modified: trunk/MgDev/UnitTest/WebTier/Php/WfsHttpRequests.php
===================================================================
--- trunk/MgDev/UnitTest/WebTier/Php/WfsHttpRequests.php 2010-04-07 20:42:41 UTC (rev 4757)
+++ trunk/MgDev/UnitTest/WebTier/Php/WfsHttpRequests.php 2010-04-07 20:55:23 UTC (rev 4758)
@@ -65,7 +65,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -88,7 +88,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -119,7 +119,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
Modified: trunk/MgDev/UnitTest/WebTier/Php/WmsHttpRequests.php
===================================================================
--- trunk/MgDev/UnitTest/WebTier/Php/WmsHttpRequests.php 2010-04-07 20:42:41 UTC (rev 4757)
+++ trunk/MgDev/UnitTest/WebTier/Php/WmsHttpRequests.php 2010-04-07 20:55:23 UTC (rev 4758)
@@ -65,7 +65,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -104,7 +104,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
@@ -149,7 +149,7 @@
}
catch (SqliteException $s)
{
- return new Result($s->GetMessage(), "text/plain");
+ return new Result($s->GetExceptionMessage(), "text/plain");
}
}
}
Modified: trunk/MgDev/UnitTest/WebTier/Php/createSdf.php
===================================================================
--- trunk/MgDev/UnitTest/WebTier/Php/createSdf.php 2010-04-07 20:42:41 UTC (rev 4757)
+++ trunk/MgDev/UnitTest/WebTier/Php/createSdf.php 2010-04-07 20:55:23 UTC (rev 4758)
@@ -34,7 +34,7 @@
}
catch (MgException $exc)
{
- echo $exc->GetMessage()."\n";
+ echo $exc->GetExceptionMessage()."\n";
echo $exc->GetDetails()."\n";
return;
}
@@ -85,7 +85,7 @@
}
catch (MgException $exc)
{
- echo $exc->GetMessage()."\n";
+ echo $exc->GetExceptionMessage()."\n";
echo $exc->GetDetails()."\n";
return;
}
@@ -169,7 +169,7 @@
catch (MgException $exc)
{
echo "First failure on insert... caught...\n";
- echo $exc->GetMessage()."\n";
+ echo $exc->GetExceptionMessage()."\n";
echo $exc->GetDetails()."\n";
echo $exc->GetStackTrace()."\n";
}
Modified: trunk/MgDev/UnitTest/WebTier/Php/createSdfUnicode.php
===================================================================
--- trunk/MgDev/UnitTest/WebTier/Php/createSdfUnicode.php 2010-04-07 20:42:41 UTC (rev 4757)
+++ trunk/MgDev/UnitTest/WebTier/Php/createSdfUnicode.php 2010-04-07 20:55:23 UTC (rev 4758)
@@ -34,7 +34,7 @@
}
catch (MgException $exc)
{
- echo $exc->GetMessage()."\n";
+ echo $exc->GetExceptionMessage()."\n";
echo $exc->GetDetails()."\n";
return;
}
@@ -86,7 +86,7 @@
}
catch (MgException $exc)
{
- echo $exc->GetMessage()."\n";
+ echo $exc->GetExceptionMessage()."\n";
echo $exc->GetDetails()."\n";
return;
}
@@ -170,7 +170,7 @@
catch (MgException $exc)
{
echo "First failure on insert... caught...\n";
- echo $exc->GetMessage()."\n";
+ echo $exc->GetExceptionMessage()."\n";
echo $exc->GetDetails()."\n";
echo $exc->GetStackTrace()."\n";
}
Modified: trunk/MgDev/UnitTest/WebTier/Php/setResourceData.php
===================================================================
--- trunk/MgDev/UnitTest/WebTier/Php/setResourceData.php 2010-04-07 20:42:41 UTC (rev 4757)
+++ trunk/MgDev/UnitTest/WebTier/Php/setResourceData.php 2010-04-07 20:55:23 UTC (rev 4758)
@@ -38,13 +38,13 @@
}
catch (MgException $exc)
{
- header("HTTP/1.1 559".$exc->GetMessage());
- $hdr = "Status: 559 ".$exc->GetMessage();
+ header("HTTP/1.1 559".$exc->GetExceptionMessage());
+ $hdr = "Status: 559 ".$exc->GetExceptionMessage();
header($hdr);
echo "<html>\n";
echo "<body>\n";
echo $hdr."\n";
- echo $exc->GetMessage()."\n";
+ echo $exc->GetExceptionMessage()."\n";
echo $exc->GetDetails()."\n";
echo "</body>\n";
echo "</html>\n";
Modified: trunk/MgDev/UnitTest/WebTier/Php/testAwSelection.php
===================================================================
--- trunk/MgDev/UnitTest/WebTier/Php/testAwSelection.php 2010-04-07 20:42:41 UTC (rev 4757)
+++ trunk/MgDev/UnitTest/WebTier/Php/testAwSelection.php 2010-04-07 20:55:23 UTC (rev 4758)
@@ -265,7 +265,7 @@
}
catch (MgException $exc)
{
- echo $exc->GetMessage()."\n";
+ echo $exc->GetExceptionMessage()."\n";
echo $exc->GetDetails()."\n";
}
echo "Done.\n";
More information about the mapguide-commits
mailing list