]> git.tdb.fi Git - r2c2.git/blobdiff - source/engineer/timetabledialog.cpp
Fix remaining exception class names
[r2c2.git] / source / engineer / timetabledialog.cpp
index 52f391ce0a85f635d6854fdab66b806ad49f458a..8a185cd156f85b7e072deda6b202280c88630f1d 100644 (file)
@@ -1,10 +1,3 @@
-/* $Id$
-
-This file is part of the MSP Märklin suite
-Copyright © 2010  Mikkosoft Productions, Mikko Rasa
-Distributed under the GPL
-*/
-
 #include <msp/gltk/button.h>
 #include <msp/io/print.h>
 #include <msp/strings/utils.h>
@@ -12,7 +5,7 @@ Distributed under the GPL
 
 using namespace std;
 using namespace Msp;
-using namespace Marklin;
+using namespace R2C2;
 
 TimetableDialog::TimetableDialog(Timetable &tt):
        timetable(tt)
@@ -70,7 +63,7 @@ void TimetableDialog::on_response(int code)
                        for(vector<Timetable::Row>::const_iterator i=rows.begin(); i!=rows.end(); ++i)
                                timetable.append(*i);
                }
-               catch(const Exception &e)
+               catch(const exception &e)
                {
                        // XXX Need a better way to report errors.  Also, should not let the dialog close.
                        IO::print("%s\n", e.what());