Socket: AddressSyntaxExceptions provide more information
[senf.git] / senf / Socket / Protocols / Raw / ParseString.ct
index 5aa40cf..9def22c 100644 (file)
@@ -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////////////////////////////////////////