X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FSocket%2FProtocols%2FRaw%2FParseString.ct;h=7ba28c9252937666b48e094626025bee5a0205e9;hb=7661548b20e6c7627f54bff87e0758396fd523ef;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..7ba28c9 100644 --- a/senf/Socket/Protocols/Raw/ParseString.ct +++ b/senf/Socket/Protocols/Raw/ParseString.ct @@ -1,6 +1,6 @@ // $Id$ // -// Copyright (C) 2009 +// Copyright (C) 2009 // Fraunhofer Institute for Open Communication Systems (FOKUS) // Competence Center NETwork research (NET), St. Augustin, GERMANY // Stefan Bund @@ -30,9 +30,10 @@ #include #include #include +#include #define prefix_ -///////////////////////////////ct.p//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// template prefix_ void senf::detail::parseHexString(std::string const & value, @@ -52,13 +53,13 @@ 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//////////////////////////////////////// +//-///////////////////////////////////////////////////////////////////////////////////////////////// #undef prefix_