Show
Ignore:
Timestamp:
03/02/10 16:49:07 (3 years ago)
Author:
jgaeddert
Message:

filesystem: handling pre-processor conditions for when boost filesystem version is out of range

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • ossiedev/trunk/system/ossie/framework/FileSystem_impl.cpp

    r9807 r9924  
    128128        if (ex.code().value() == ENOENT) 
    129129            throw CF::FileException(CF::CFENOENT, ex.what()); 
     130#else 
     131    } catch (const boost::system::system_error &ex ) { 
     132        throw CF::FileException(CF::CFENOENT, ex.what()); 
    130133#endif 
    131134    } 
     
    205208        if (ex.code().value() == EINVAL) 
    206209            throw CF::InvalidFileName(CF::CFEINVAL, ex.what()); 
    207 #endif 
     210#else 
     211    } catch (const boost::system::system_error &ex) { 
    208212        throw CF::FileException(CF::CFNOTSET, ex.what()); 
     213#endif 
    209214    } 
    210215    DEBUG(4, FileSystem, "Leaving recursiveList")