Re: [boost] filesystem/exception.hpp

2003-08-09 Thread Beman Dawes
At 05:23 PM 8/1/2003, David Abrahams wrote: > >Why aren't there constructors accepting an error_code in >boost::fs::exception? > >I have some code which needs to throw an exception if >!is_directory(some_path). I'd like to throw a not_a_directory >filesystem exception (or one derived therefrom). >

[boost] filesystem/exception.hpp

2003-08-01 Thread David Abrahams
Why aren't there constructors accepting an error_code in boost::fs::exception? I have some code which needs to throw an exception if !is_directory(some_path). I'd like to throw a not_a_directory filesystem exception (or one derived therefrom). Howto? -- Dave Abrahams Boost Consulting www.boos