[mapguide][MG150][Modified] Need a try / catchall mechanism in SWIG generated wrapper co...

Alain Lebatard alain.lebatard at autodesk.com
Wed Mar 22 20:17:24 EST 2006


You can view the artifact detail at the following URL:

    https://mapguide.osgeo.org/servlets/Scarab/id/MG150

Type:
Enhancement

Artifact ID:
MG150 (Need a try / catchall mechanism in SWIG generated wrapper code)

Modified by:
Alain Lebatard
alainlebatard (alain.lebatard at autodesk.com)

The following modifications were made to this artifact:
---------------------------------------------------------------------

-- Resolution Description set to new value:
SWIG generation for PHP, Java and .NET was modified to add a catch(...) clause around each native method call. In this catch statement the proxy code calls a onCatchAll() function whose code is supplied by user through a file named with by new option -catchallcode on SWIG's command line.

Each of the 3 API provide a file catchall.code which contain the necessary code to create an exception MgUnclassifiedException and throw a wrapper to it to the managed code.

-- Artifact Status changed:
Old value:
New
New value:
Resolved
-- Resolution set to new value:
Submitted



---------------------------------------------------------------------
This message was automatically generated by Project Tracker.








More information about the Mapguide_issues mailing list