X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FSocket%2FProtocols%2FRaw%2FParseString.ct;h=9def22c1b509b5b306375c4519e3bdabd32a7975;hb=c74546060360ac6a739a2f2878c72e21e9135390;hp=dec04ee13eefb82d8d9b26e4e1b8c9a500c91883;hpb=26610f603ebdd465307b9621f532c1fe19fd5571;p=senf.git diff --git a/senf/Socket/Protocols/Raw/ParseString.ct b/senf/Socket/Protocols/Raw/ParseString.ct index dec04ee..9def22c 100644 --- a/senf/Socket/Protocols/Raw/ParseString.ct +++ b/senf/Socket/Protocols/Raw/ParseString.ct @@ -30,6 +30,7 @@ #include #include #include +#include #define prefix_ ///////////////////////////////ct.p//////////////////////////////////////// @@ -52,10 +53,10 @@ prefix_ void senf::detail::parseHexString(std::string const & value, std::string(boost::begin(*i),boost::end(*i)))); } catch (std::bad_cast &) { - throw AddressSyntaxException(); + throw AddressSyntaxException(value); } if (i!=i_end || f!=l) - throw AddressSyntaxException(); + throw AddressSyntaxException(value); } ///////////////////////////////ct.e////////////////////////////////////////