Author: dmacvicar Date: Tue Feb 19 13:43:36 2008 New Revision: 8808 URL: http://svn.opensuse.org/viewcvs/zypp?rev=8808&view=rev Log: use the right exception type, may be should be RepoMetadataException anyways, but not unknown typewq Modified: trunk/libzypp/zypp/RepoManager.cc Modified: trunk/libzypp/zypp/RepoManager.cc URL: http://svn.opensuse.org/viewcvs/zypp/trunk/libzypp/zypp/RepoManager.cc?rev=8... ============================================================================== --- trunk/libzypp/zypp/RepoManager.cc (original) +++ trunk/libzypp/zypp/RepoManager.cc Tue Feb 19 13:43:36 2008 @@ -753,14 +753,14 @@ } int ret = prog.close(); if ( ret != 0 ) - ZYPP_THROW(RepoUnknownTypeException(outputstr.str())); + ZYPP_THROW(RepoException(outputstr.str())); // We keep it. guard.resetDispose(); } break; default: - ZYPP_THROW(Exception("Unhandled repostory type")); + ZYPP_THROW(RepoUnknownTypeException("Unhandled repository type")); break; } #if 0 -- To unsubscribe, e-mail: zypp-commit+unsubscribe@opensuse.org For additional commands, e-mail: zypp-commit+help@opensuse.org