X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Fconfig.cpp;h=4c06c836d40936b19fc2b3e81b9e66c228573c4b;hb=83d2a8a39e0a09733ffc666d7f885fc328b831f2;hp=d4f9384c5b1b05b7eb93becdcdf2a2e9a9995b18;hpb=a63fc8c311155582a1efb3bc07f010cf159f299c;p=builder.git diff --git a/source/config.cpp b/source/config.cpp index d4f9384..4c06c83 100644 --- a/source/config.cpp +++ b/source/config.cpp @@ -34,7 +34,7 @@ const Config::Option &Config::get_option(const string &name) const { OptionMap::const_iterator i=options.find(name); if(i==options.end()) - throw Exception("Tried to access nonexistent option "+name); + throw KeyError("Unknown option", name); return i->second; }