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=6... ============================================================================== --- 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=62... ============================================================================== --- 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@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org