namespace StringCodec {
invalid_character::invalid_character(unichar ch, const string &detail):
- codec_error(format("invalid character: U+%04X (%s)", ch, detail))
+ codec_error(format("U+%04X (%s)", ch, detail))
{ }
invalid_sequence::invalid_sequence(const string::const_iterator &begin, const string::const_iterator &end, const string &detail):
- codec_error(format("invalid sequence: %s (%s)", format_sequence(begin, end), detail))
+ codec_error(format("%s (%s)", format_sequence(begin, end), detail))
{ }
string invalid_sequence::format_sequence(const string::const_iterator &begin, const string::const_iterator &end)