Remove deprecated aria2 support
[platform/upstream/libzypp.git] / zypp / media / MediaException.cc
index 9cf3839..346802d 100644 (file)
@@ -85,22 +85,6 @@ namespace zypp
         << endl;
     }
 
-   std::ostream & MediaMetalinkInitException::dumpOn( std::ostream & str) const
-    {
-      return str << form(
-        // TranslatorExplanation: curl is the name of a library, don't translate
-        _("Download (Metalink curl) initialization failed for '%s'"), _url.c_str())
-        << endl;
-    }
-
-   std::ostream & MediaAria2cInitException::dumpOn( std::ostream & str) const
-    {
-      return str << form(
-        // TranslatorExplanation: curl is the name of a library, don't translate
-        _("Download (Metalink curl) initialization failed for '%s'"), _url.c_str())
-        << endl;
-    }
-
     std::ostream & MediaSystemException::dumpOn( std::ostream & str) const
     {
       return str << form(
@@ -179,42 +163,6 @@ namespace zypp
        << endl << _msg << endl;
     }
 
-   std::ostream & MediaMetalinkException::dumpOn( std::ostream & str) const
-    {
-      // TranslatorExplanation: curl is the name of a library, don't translate
-      return str << form(_(
-        "Download (metalink curl) error for '%s':\n"
-        "Error code: %s\n"
-        "Error message: %s\n"), _url.c_str(), _err.c_str(), _msg.c_str());
-    }
-
-    std::ostream & MediaMetalinkSetOptException::dumpOn( std::ostream & str) const
-    {
-      return str << form(
-        // TranslatorExplanation: curl is the name of a library, don't translate
-        _("Error occurred while setting download (metalink curl) options for '%s':"),
-        _url.c_str())
-       << endl << _msg << endl;
-    }
-
-   std::ostream & MediaAria2cException::dumpOn( std::ostream & str) const
-    {
-      // TranslatorExplanation: curl is the name of a library, don't translate
-      return str << form(_(
-        "Download (metalink curl) error for '%s':\n"
-        "Error code: %s\n"
-        "Error message: %s\n"), _url.c_str(), _err.c_str(), _msg.c_str());
-    }
-
-    std::ostream & MediaAria2cSetOptException::dumpOn( std::ostream & str) const
-    {
-      return str << form(
-        // TranslatorExplanation: curl is the name of a library, don't translate
-        _("Error occurred while setting download (metalink curl) options for '%s':"),
-        _url.c_str())
-       << endl << _msg << endl;
-    }
-
     std::ostream & MediaNotDesiredException::dumpOn( std::ostream & str ) const
     {
       return str << form(