aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-06-18 16:49:57 +0100
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2010-06-18 16:49:57 +0100
commit57457926add52d81ca293ba17f7524bc6467e2b4 (patch)
tree4cb270a46346625c8a07afaf76193ad94353753a
parentf4be78be3f2b8a772c0d2d09e7043c5631c6ae1a (diff)
downloadpaludis-57457926add52d81ca293ba17f7524bc6467e2b4.tar.gz
paludis-57457926add52d81ca293ba17f7524bc6467e2b4.tar.xz
Tidy up some InternalErrors
-rw-r--r--paludis/resolver/resolver.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/paludis/resolver/resolver.cc b/paludis/resolver/resolver.cc
index 7e02150..cbcdc4c 100644
--- a/paludis/resolver/resolver.cc
+++ b/paludis/resolver/resolver.cc
@@ -156,7 +156,7 @@ Resolver::add_target(const SetName & set_name)
const std::tr1::shared_ptr<const SetSpecTree> set(_imp->env->set(set_name));
if (! set)
- throw InternalError(PALUDIS_HERE, "unimplemented: no such set");
+ throw NoSuchSetError(stringify(set_name));
RecursingNames recurse;
set->root()->accept(SetExpander(_imp->env, _imp->decider, make_shared_ptr(new TargetReason), recurse));