[mapguide-trac] #1884: Don't throw exception if param strict is false when deleting a file

MapGuide Open Source trac_mapguide at osgeo.org
Fri Dec 9 01:32:08 EST 2011


#1884: Don't throw exception if param strict is false when deleting a file
---------------------------+------------------------------------------------
   Reporter:  hubu         |       Owner:  hubu 
       Type:  enhancement  |      Status:  new  
   Priority:  low          |   Milestone:       
  Component:  Server       |     Version:  2.2.0
   Severity:  trivial      |    Keywords:       
External_id:               |  
---------------------------+------------------------------------------------
 If the delete operation failed with error, the method
 MgFileUtil::DeleteFile(CREFSTRING pathname, bool strict) will throw an
 MgFileIoException regardless the value of strict. Now we change the
 behaviour to throw exception when strict is true, otherwise don't throw an
 exception.

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


More information about the mapguide-trac mailing list