From 50e741126a0840179b86cf2302905e30dad6f75f Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sat, 19 Sep 2009 10:46:32 +0200 Subject: Add path string to the invalid_path exception --- cutl/fs/path.txx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cutl/fs/path.txx') diff --git a/cutl/fs/path.txx b/cutl/fs/path.txx index caff259..ff5095b 100644 --- a/cutl/fs/path.txx +++ b/cutl/fs/path.txx @@ -70,7 +70,7 @@ namespace cutl operator/ (basic_path const& r) { if (r.path_.empty ()) - throw invalid_path (); + throw invalid_basic_path (r.path_); basic_path x (*this); x.path_ += '/'; @@ -83,7 +83,7 @@ namespace cutl init (bool internal) { if (!internal && path_.empty ()) - throw invalid_path (); + throw invalid_basic_path (path_); // Strip trailing slashes. This way empty string represents // root directory. -- cgit v1.1