aboutsummaryrefslogtreecommitdiff
path: root/cutl/fs
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2009-09-19 08:20:12 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2009-09-19 08:20:12 +0200
commit6ca1c8ee64bf7268d194eb15e72d3024a335039d (patch)
tree8876f51d9392f35c27eca83126fb9732e01bd916 /cutl/fs
parentf0fb6aeab118255266370121db79ab2a2fed88ad (diff)
Add root exception class
Derive all other exceptions from it.
Diffstat (limited to 'cutl/fs')
-rw-r--r--cutl/fs/path.hxx4
1 files changed, 3 insertions, 1 deletions
diff --git a/cutl/fs/path.hxx b/cutl/fs/path.hxx
index a79fc5c..f310d55 100644
--- a/cutl/fs/path.hxx
+++ b/cutl/fs/path.hxx
@@ -9,11 +9,13 @@
#include <string>
#include <iosfwd>
+#include <cutl/exception.hxx>
+
namespace cutl
{
namespace fs
{
- struct invalid_path: std::exception
+ struct invalid_path: exception
{
virtual char const*
what () const throw ();