diff options
author | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 16:50:45 +0200 |
---|---|---|
committer | Daniel Wilhelm <daniel@wili.li> | 2014-04-18 16:50:45 +0200 |
commit | eca5f1c8831fd0776e57a174362b0515104174c2 (patch) | |
tree | 5cba4e6c74d1f5c78018eff1b09b1973c5b7604f /library/globalFunctions.cpp | |
parent | 1.6 (diff) | |
download | FreeFileSync-eca5f1c8831fd0776e57a174362b0515104174c2.tar.gz FreeFileSync-eca5f1c8831fd0776e57a174362b0515104174c2.tar.bz2 FreeFileSync-eca5f1c8831fd0776e57a174362b0515104174c2.zip |
1.7
Diffstat (limited to 'library/globalFunctions.cpp')
-rw-r--r-- | library/globalFunctions.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/library/globalFunctions.cpp b/library/globalFunctions.cpp index d91fa8b1..5afb1650 100644 --- a/library/globalFunctions.cpp +++ b/library/globalFunctions.cpp @@ -71,7 +71,7 @@ int globalFunctions::wxStringToInt(const wxString& number) if (number.ToLong(&result)) return result; else - throw std::runtime_error("Error when converting number to long"); + throw RuntimeException(_("Error when converting wxString to long")); } @@ -82,7 +82,7 @@ double globalFunctions::wxStringToDouble(const wxString& number) if (number.ToDouble(&result)) return result; else - throw std::runtime_error("Error when converting number to double"); + throw RuntimeException(_("Error when converting wxString to double")); } |