Changes between Initial Version and Version 1 of Ticket #488


Ignore:
Timestamp:
Mar 30, 2009, 9:31:37 AM (15 years ago)
Author:
gregboone
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #488 – Description

    initial v1  
    11Modify the implementation of
    22
    3     NAMESPACE_OSGEO_COMMON::Exception::Create(System::IntPtr ex)
     3 
     4{{{
     5   NAMESPACE_OSGEO_COMMON::Exception::Create(System::IntPtr ex)
     6}}}
    47
    58
    69- Change the if (IntPtr::Zero == ex) check to: if (IntPtr::Zero != ex)
     10
    711- 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
    1015- Add a try...catch block so that this method does not throw errors.
    1116