X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flibr2c2%2Fdriver.cpp;h=46548e82590ed3e11962184ded5f14f8b86edf25;hb=621c5c938d70ba0d155e0eda91a708db0a52c0dc;hp=22b241c61a5c8bf51faaa5101c8ed738d6483ddf;hpb=9bab44d27a89602565270e71d8684fb3f2fac5be;p=r2c2.git diff --git a/source/libr2c2/driver.cpp b/source/libr2c2/driver.cpp index 22b241c..46548e8 100644 --- a/source/libr2c2/driver.cpp +++ b/source/libr2c2/driver.cpp @@ -1,4 +1,3 @@ -#include #include "centralstation.h" #include "driver.h" #include "dummy.h" @@ -24,7 +23,7 @@ Driver *Driver::create(const string &str) else if(type=="dummy") return new Dummy; - throw Msp::InvalidParameterValue("Unknown driver"); + throw invalid_argument("Driver::create"); } } // namespace R2C2