X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fcomponent.cpp;h=6bfce1fb6b8682f19c775552812b26af9da1b451;hb=93c0466ccf46aa3d43541a1aa6a75192d237b3eb;hp=8a57b6410ee47024cec0b88704f9998707130a4b;hpb=73b8ae52a68a9475834745cd8514562703103677;p=builder.git diff --git a/source/component.cpp b/source/component.cpp index 8a57b64..6bfce1f 100644 --- a/source/component.cpp +++ b/source/component.cpp @@ -302,5 +302,5 @@ void Component::Loader::use(const string &n) obj.uses.push_back(&*i); return; } - error(format("Unknown library component '%s'", n)); + throw invalid_argument("Component::Loader::use"); }