Fix documentation build under maverick (doxygen 1.7.1)
[senf.git] / senf / Socket / Protocols / AddressExceptions.hh
index fb9e556..7f47dc4 100644 (file)
@@ -30,7 +30,7 @@
 #include <senf/Utils/Exception.hh>
 
 //#include "AddressExceptions.mpp"
-///////////////////////////////hh.p////////////////////////////////////////
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
 
 namespace senf {
 
@@ -46,7 +46,7 @@ namespace senf {
     struct AddressSyntaxException : public AddressException
     {
         AddressSyntaxException() : AddressException("invalid address syntax") {}
-        AddressSyntaxException(const std::string &addr)
+        AddressSyntaxException(std::string const & addr)
             : AddressException("Invalid address syntax (\"" + addr + "\")") {}
     };
 
@@ -54,13 +54,21 @@ namespace senf {
     struct UnknownHostnameException : public AddressException
     {
         UnknownHostnameException() : AddressException("failed to resolve hostname") {}
-        UnknownHostnameException(const std::string &hostname)
+        UnknownHostnameException(std::string const & hostname)
             : AddressException("Failed to resolve hostname (\"" + hostname + "\")") {}
     };
 
+    /** \brief Unknown interface */
+    struct UnknownInterfaceException : public AddressException
+    {
+        UnknownInterfaceException() : AddressException("Unknown interface") {}
+        UnknownInterfaceException(std::string const & interface)
+            : AddressException("Unknown interface (\"" + interface + "\")") {}
+    };
+
 }
 
-///////////////////////////////hh.e////////////////////////////////////////
+//-/////////////////////////////////////////////////////////////////////////////////////////////////
 //#include "AddressExceptions.cci"
 //#include "AddressExceptions.ct"
 //#include "AddressExceptions.cti"