]> git.tdb.fi Git - r2c2.git/blobdiff - source/libr2c2/driver.cpp
Implement signals in Intellibox driver as well
[r2c2.git] / source / libr2c2 / driver.cpp
index a587b962d230ed021bfbda24f12a133a370b667f..46548e82590ed3e11962184ded5f14f8b86edf25 100644 (file)
@@ -1,11 +1,3 @@
-/* $Id$
-
-This file is part of R²C²
-Copyright © 2010  Mikkosoft Productions, Mikko Rasa
-Distributed under the GPL
-*/
-
-#include <msp/core/except.h>
 #include "centralstation.h"
 #include "driver.h"
 #include "dummy.h"
@@ -31,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