aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVincent Richard <[email protected]>2015-03-16 18:14:58 +0000
committerVincent Richard <[email protected]>2015-03-16 18:14:58 +0000
commit23fc354ce254e5ab6e236577cc755b996df34f4f (patch)
tree184e11d763d4ceb9d5aa4ee04fffd74481842c6e
parentInlined function to avoid issues with dllimport on MSVC/Windows. (diff)
downloadvmime-23fc354ce254e5ab6e236577cc755b996df34f4f.tar.gz
vmime-23fc354ce254e5ab6e236577cc755b996df34f4f.zip
Fixed issue #106: exception class name is wrong.
-rw-r--r--src/vmime/charsetConverter_win.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vmime/charsetConverter_win.cpp b/src/vmime/charsetConverter_win.cpp
index 2828fc66..d4a21a46 100644
--- a/src/vmime/charsetConverter_win.cpp
+++ b/src/vmime/charsetConverter_win.cpp
@@ -127,7 +127,7 @@ void charsetConverter_win::convert(const string& in, string& out, status* st)
{
if (GetLastError() == ERROR_NO_UNICODE_TRANSLATION)
{
- throw exceptions::illegal_byte_sequence_in_charset();
+ throw exceptions::illegal_byte_sequence_for_charset();
}
else
{
@@ -156,7 +156,7 @@ void charsetConverter_win::convert(const string& in, string& out, status* st)
{
if (GetLastError() == ERROR_NO_UNICODE_TRANSLATION)
{
- throw exceptions::illegal_byte_sequence_in_charset();
+ throw exceptions::illegal_byte_sequence_for_charset();
}
else
{