projects
/
platform
/
upstream
/
libzypp.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e46b1fb
)
use the right exception type, may be should be RepoMetadataException
author
Duncan Mac-Vicar P
<dmacvicar@suse.de>
Tue, 19 Feb 2008 12:43:36 +0000
(12:43 +0000)
committer
Duncan Mac-Vicar P
<dmacvicar@suse.de>
Tue, 19 Feb 2008 12:43:36 +0000
(12:43 +0000)
anyways, but not unknown typewq
zypp/RepoManager.cc
patch
|
blob
|
history
diff --git
a/zypp/RepoManager.cc
b/zypp/RepoManager.cc
index
560b199
..
063bcf3
100644
(file)
--- a/
zypp/RepoManager.cc
+++ b/
zypp/RepoManager.cc
@@
-753,14
+753,14
@@
namespace zypp
}
int ret = prog.close();
if ( ret != 0 )
- ZYPP_THROW(Repo
UnknownType
Exception(outputstr.str()));
+ ZYPP_THROW(RepoException(outputstr.str()));
// We keep it.
guard.resetDispose();
}
break;
default:
- ZYPP_THROW(
Exception("Unhandled repos
tory type"));
+ ZYPP_THROW(
RepoUnknownTypeException("Unhandled reposi
tory type"));
break;
}
#if 0