diff options
Diffstat (limited to 'source/core/StarLexicalCast.hpp')
-rw-r--r-- | source/core/StarLexicalCast.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/core/StarLexicalCast.hpp b/source/core/StarLexicalCast.hpp index bee2692..6e6c66e 100644 --- a/source/core/StarLexicalCast.hpp +++ b/source/core/StarLexicalCast.hpp @@ -47,7 +47,7 @@ Type lexicalCast(std::string const& s, std::ios_base::fmtflags flags = std::ios_ if (m) return m.take(); else - throw BadLexicalCast(); + throw BadLexicalCast(strf("Lexical cast failed on '%s'", s)); } template <typename Type> |