Fixed issue #106: exception class name is wrong.
This commit is contained in:
parent
1b964969c5
commit
23fc354ce2
@ -127,7 +127,7 @@ void charsetConverter_win::convert(const string& in, string& out, status* st)
|
|||||||
{
|
{
|
||||||
if (GetLastError() == ERROR_NO_UNICODE_TRANSLATION)
|
if (GetLastError() == ERROR_NO_UNICODE_TRANSLATION)
|
||||||
{
|
{
|
||||||
throw exceptions::illegal_byte_sequence_in_charset();
|
throw exceptions::illegal_byte_sequence_for_charset();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
@ -156,7 +156,7 @@ void charsetConverter_win::convert(const string& in, string& out, status* st)
|
|||||||
{
|
{
|
||||||
if (GetLastError() == ERROR_NO_UNICODE_TRANSLATION)
|
if (GetLastError() == ERROR_NO_UNICODE_TRANSLATION)
|
||||||
{
|
{
|
||||||
throw exceptions::illegal_byte_sequence_in_charset();
|
throw exceptions::illegal_byte_sequence_for_charset();
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user