Fixed issue #106: exception class name is wrong.

This commit is contained in:
Vincent Richard 2015-03-16 19:14:58 +01:00
parent 1b964969c5
commit 23fc354ce2

View File

@ -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
{