[Mapguide-trac] [mapguide-trac] #2315: Meaningless System.Exception thrown if no proxy for unmanaged exception found

MapGuide Open Source trac_mapguide at osgeo.org
Thu Jul 4 03:30:44 PDT 2013


#2315: Meaningless System.Exception thrown if no proxy for unmanaged exception
found
-----------------------+----------------------------------------------------
   Reporter:  jng      |       Owner:       
       Type:  defect   |      Status:  new  
   Priority:  low      |   Milestone:       
  Component:  Web API  |     Version:  2.5.0
   Severity:  trivial  |    Keywords:       
External_id:           |  
-----------------------+----------------------------------------------------
 If an MgException-derived exception is thrown from the C++ code, and the
 .net wrapper fails to resolve an appropriate .net proxy class equivalent
 to throw on the managed side. A plain vanilla System.Exception is thrown.

 This is not an issue, except that the exception is thrown without a
 message, making error diagnosis quite unhelpful.

 At the very least, this exception should contain the .net class name of
 the proxy exception class we could not find to throw a new instance of.

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/2315>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list