[fdo-trac] #488: Managed API: Managned Exception Constructor returns null

FDO trac_fdo at osgeo.org
Mon Mar 30 12:26:19 EDT 2009


#488: Managed API: Managned Exception Constructor returns null
-------------------------+--------------------------------------------------
   Reporter:  gregboone  |       Owner:  gregboone
       Type:  defect     |      Status:  new      
   Priority:  minor      |   Milestone:  3.5.0    
  Component:  FDO API    |     Version:  3.4.0    
   Severity:  3          |    Keywords:           
External_id:  1209691    |  
-------------------------+--------------------------------------------------
 Modify the implementation of

     NAMESPACE_OSGEO_COMMON::Exception::Create(System::IntPtr ex)


 - Change the if (IntPtr::Zero == ex) check to: if (IntPtr::Zero != ex)
 - Have a single return point in the function
 - Avoid trying to create a nested NAMESPACE_OSGEO_COMMON::Exception object
 for
 the nested FDO exception if the nested FDO cause exception is NULL
 - Add a try...catch block so that this method does not throw errors.

-- 
Ticket URL: <http://trac.osgeo.org/fdo/ticket/488>
FDO <http://fdo.osgeo.org/>
Feature Data Objects


More information about the fdo-trac mailing list