Changes between Initial Version and Version 1 of Ticket #488
- Timestamp:
- Mar 30, 2009, 9:31:37 AM (15 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #488 – Description
initial v1 1 1 Modify the implementation of 2 2 3 NAMESPACE_OSGEO_COMMON::Exception::Create(System::IntPtr ex) 3 4 {{{ 5 NAMESPACE_OSGEO_COMMON::Exception::Create(System::IntPtr ex) 6 }}} 4 7 5 8 6 9 - Change the if (IntPtr::Zero == ex) check to: if (IntPtr::Zero != ex) 10 7 11 - Have a single return point in the function 8 - Avoid trying to create a nested NAMESPACE_OSGEO_COMMON::Exception object for 9 the nested FDO exception if the nested FDO cause exception is NULL 12 13 - Avoid trying to create a nested NAMESPACE_OSGEO_COMMON::Exception object for the nested FDO exception if the nested FDO cause exception is NULL 14 10 15 - Add a try...catch block so that this method does not throw errors. 11 16