From 29df79e4e5c9a428105856844f791f3c0f20c1d2 Mon Sep 17 00:00:00 2001 From: Vincent Richard Date: Fri, 25 Aug 2006 14:36:44 +0000 Subject: Fixed parsing when space occurs at the end of the field value. --- src/exception.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/exception.cpp') diff --git a/src/exception.cpp b/src/exception.cpp index c3039199..88b985e5 100644 --- a/src/exception.cpp +++ b/src/exception.cpp @@ -123,8 +123,8 @@ const char* charset_conv_error::name() const throw() { return "charset_conv_erro // no_encoder_available::~no_encoder_available() throw() {} -no_encoder_available::no_encoder_available(const exception& other) - : exception("No encoder available.", other) {} +no_encoder_available::no_encoder_available(const string& name, const exception& other) + : exception("No encoder available: '" + name + "'.", other) {} exception* no_encoder_available::clone() const { return new no_encoder_available(*this); } const char* no_encoder_available::name() const throw() { return "no_encoder_available"; } -- cgit v1.2.3