aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2017-08-07 00:16:39 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2017-08-07 00:16:57 +0300
commit2faf89099fa040256fc4198e7e3b1b1fd43630d4 (patch)
tree9bc92b4d09988119a17379827fed7697e67d594b /src
parentdefine WIN32_LEAN_AND_MEAN (diff)
downloadwinapi-debug-2faf89099fa040256fc4198e7e3b1b1fd43630d4.tar.gz
winapi-debug-2faf89099fa040256fc4198e7e3b1b1fd43630d4.zip
update exception message
Diffstat (limited to 'src')
-rw-r--r--src/utils/file.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/file.cpp b/src/utils/file.cpp
index 6157699..c0bb4bd 100644
--- a/src/utils/file.cpp
+++ b/src/utils/file.cpp
@@ -40,7 +40,7 @@ namespace pdb
std::size_t result = 0;
if (!msl::utilities::SafeCast(size.QuadPart, result))
- throw std::runtime_error{"unsupported file size"};
+ throw std::runtime_error{"invalid file size"};
return result;
}