X-Git-Url: http://git.tdb.fi/?p=libs%2Fcore.git;a=blobdiff_plain;f=source%2Ffs%2Fpath.cpp;h=784c6eb508cbd953629e0b3819ea82667e083566;hp=52b1da2241dc9a762dbab76a6caa2a0f9bfa3478;hb=19edaf3b45bc4c23459fc8ddd552dcfa33eecc71;hpb=82f9f26dde92ea0e9714fd8878db8dad186ce7af diff --git a/source/fs/path.cpp b/source/fs/path.cpp index 52b1da2..784c6eb 100644 --- a/source/fs/path.cpp +++ b/source/fs/path.cpp @@ -1,4 +1,4 @@ -#include +#include #include #include "path.h" #include "utils.h" @@ -103,7 +103,7 @@ string Path::operator[](int n) const } } - throw InvalidParameterValue("Path component index out of range"); + throw invalid_argument("Path::operator[]"); } bool Path::operator==(const Path &p) const