[Mapguide-trac] [mapguide-trac] #2034: Include cause and root cause in FDO exception messages

MapGuide Open Source trac_mapguide at osgeo.org
Fri Jun 22 00:01:50 PDT 2012


#2034: Include cause and root cause in FDO exception messages
-------------------------------+--------------------------------------------
   Reporter:  jng              |       Owner:     
       Type:  enhancement      |      Status:  new
   Priority:  low              |   Milestone:  2.4
  Component:  Feature Service  |     Version:     
   Severity:  trivial          |    Keywords:     
External_id:                   |  
-------------------------------+--------------------------------------------
 #2005 improved the quality of MgFdoException error messages, but we can do
 even better

 When a MgFdoException is thrown, it only captures the message of the
 FdoException object, but the FdoException class also includes a cause
 (FdoException::GetCause()) root cause (FdoException::GetRootCause()) which
 are lost when re-thrown as a MgFdoException.

 The default macros that throw MgFdoException should include the cause and
 root causes for better quality error messages

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


More information about the mapguide-trac mailing list