3 This file is part of the MSP Märklin suite
4 Copyright © 2009 Mikkosoft Productions, Mikko Rasa
5 Distributed under the GPL
8 #ifndef LIBMARKLIN_EXCEPT_H_
9 #define LIBMARKLIN_EXCEPT_H_
11 #include <msp/core/except.h>
17 class TurnoutBusy: public Msp::Exception
23 TurnoutBusy(Train *t): Exception("Turnout is busy"), train(t) { }
24 virtual ~TurnoutBusy() throw() { }
26 Train *get_train() const throw() { return train; }