--- /dev/null
+/* $Id$
+
+This file is part of the MSP Märklin suite
+Copyright © 2009 Mikkosoft Productions, Mikko Rasa
+Distributed under the GPL
+*/
+
+#ifndef LIBMARKLIN_EXCEPT_H_
+#define LIBMARKLIN_EXCEPT_H_
+
+#include <msp/core/except.h>
+
+namespace Marklin {
+
+class Train;
+
+class TurnoutBusy: public Msp::Exception
+{
+private:
+ Train *train;
+
+public:
+ TurnoutBusy(Train *t): Exception("Turnout is busy"), train(t) { }
+ virtual ~TurnoutBusy() throw() { }
+
+ Train *get_train() const throw() { return train; }
+};
+
+}
+
+#endif