Hi!

what about catching the exception and rethrowing your own one?


Greetings,
Ovanes


On Wed, Apr 29, 2009 at 2:29 PM, Max <more4less@sina.com> wrote:
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 mailing list
Boost-users@lists.boost.org
http://lists.boost.org/mailman/listinfo.cgi/boost-users