X-Git-Url: http://g0dil.de/git?a=blobdiff_plain;f=senf%2FSocket%2FProtocols%2FRaw%2FParseString.ct;h=0ca7b4fea6c8c5a8a3ad97548f342e1d540cffa1;hb=cb50871835b7a5c37e4fd32d38de67fa12570ebc;hp=5aa40cf68206955ed97885ae5d8d7b34eea54d1f;hpb=0fb5ed1adf2f67dbf47fdfed3f3c8be989cf3618;p=senf.git diff --git a/senf/Socket/Protocols/Raw/ParseString.ct b/senf/Socket/Protocols/Raw/ParseString.ct index 5aa40cf..0ca7b4f 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 @@ -53,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////////////////////////////////////////