Mailinglist Archive: zypp-commit (500 mails)

< Previous Next >
[zypp-commit] r6294 - in /trunk/libzypp/zypp: RepoManager.cc RepoManager.h
  • From: jkupec@xxxxxxxxxxxxxxxx
  • Date: Mon, 30 Jul 2007 14:04:40 -0000
  • Message-id: <20070730140441.289FA23B36@xxxxxxxxxxxxxxxx>
Author: jkupec
Date: Mon Jul 30 16:04:40 2007
New Revision: 6294

URL: http://svn.opensuse.org/viewcvs/zypp?rev=6294&view=rev
Log:
improved refreshMetadata() message and doc

Modified:
    trunk/libzypp/zypp/RepoManager.cc
    trunk/libzypp/zypp/RepoManager.h

Modified: trunk/libzypp/zypp/RepoManager.cc
URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/RepoManager.cc?rev=6294&r1=6293&r2=6294&view=diff
==============================================================================
--- trunk/libzypp/zypp/RepoManager.cc (original)
+++ trunk/libzypp/zypp/RepoManager.cc Mon Jul 30 16:04:40 2007
@@ -455,7 +455,7 @@
       }
     } // for every url
     ERR << "No more urls..." << endl;
-    ZYPP_THROW(RepoException("Cant refresh metadata"));
+    ZYPP_THROW(RepoException(_("Valid metadata not found at specified URL(s)")));
   }
 
   ////////////////////////////////////////////////////////////////////////////

Modified: trunk/libzypp/zypp/RepoManager.h
URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/RepoManager.h?rev=6294&r1=6293&r2=6294&view=diff
==============================================================================
--- trunk/libzypp/zypp/RepoManager.h (original)
+++ trunk/libzypp/zypp/RepoManager.h Mon Jul 30 16:04:40 2007
@@ -117,6 +117,8 @@
     * \throws repo::RepoNoUrlException if no urls are available.
     * \throws repo::RepoNoAliasException if can't figure an alias
     * \throws repo::RepoUnknownTypeException if the metadata is unknown
+    * \throws repo::RepoException if the repository is invalid
+    *         (no valid metadata found at any of baseurls) 
     * \throws Exception on unknown error.
     */
    void refreshMetadata( const RepoInfo &info,

--
To unsubscribe, e-mail: zypp-commit+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: zypp-commit+help@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages