Boost logo

Boost Users :

Subject: [Boost-users] [filesystem] Hoe to depress boost::filesystem::basic_directory_iterator constructor?
From: Max (more4less_at_[hidden])
Date: 2009-04-29 08:29:27


Hello list,

I'm using fs::recursive_directory_iterator(path), when the path
given by 'path' does not exist, an exception will be thown with the
message similar to the following:

error: boost::filesystem::basic_directory_iterator constructor: the given
directory not found: "any\path\that\does\not\exist"

I want to depress the part that is added by the lib:

" boost::filesystem::basic_directory_iterator constructor:"

How can I do? I've searched the archive and the doc but not
found an answer.

Thanks for help.

B/Rgds
Max


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net