Exceptions for Java, Ruby, C# mapscript in 4.4

Sean Gillies sgillies at FRII.COM
Fri Oct 1 09:15:25 PDT 2004


I posted this to the developers list yesterday and am now
looking for input from mapscript users.  Please not that
this does not concern PHP mapscript, only the SWIG-based
flavors.

Some have asked about Perl exceptions.  SWIG's exception
library for Perl uses croak().  Each method call will
peek into the mapserver error stack, and if an error is
found, execution will stop and Perl will croak with the
mapserver error message.

Sean

Begin forwarded message:

> From: Sean Gillies <sgillies at frii.com>
> Date: September 30, 2004 3:32:04 PM MDT
> To: MapServer-Dev <Mapserver-dev at lists.gis.umn.edu>
> Subject: Exceptions for Java, Ruby, C# mapscript in 4.4
>
> Hi all,
>
> Thanks to work by Umberto Nicoletti there will be exceptions in
> Java mapscript using SWIG's exception library
>
>   http://www.swig.org/Doc1.3/Customization.html#Customization_nn7
>
> Do Ruby and C# developers and users want exceptions?  I won't add
> them unless someone speaks up on behalf of their favorite map-scripting
> language.
>
> cheers,
> Sean
>
> --
> Sean Gillies
> sgillies at frii dot com
> http://users.frii.com/sgillies
>



More information about the MapServer-users mailing list