X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flibr2c2%2Fvehicle.h;fp=source%2Flibr2c2%2Fvehicle.h;h=8990a5b538d68c0f144b2404db636229ec6f9f00;hb=9bab44d27a89602565270e71d8684fb3f2fac5be;hp=f459d32a36880ba4315b6e72962cc44c0b52d434;hpb=8b828fc32fd210b6e335ac6614d269aa892d4d57;p=r2c2.git diff --git a/source/libr2c2/vehicle.h b/source/libr2c2/vehicle.h index f459d32..8990a5b 100644 --- a/source/libr2c2/vehicle.h +++ b/source/libr2c2/vehicle.h @@ -9,6 +9,14 @@ namespace R2C2 { class Layout; class Track; +class attachment_error: public std::logic_error +{ +public: + attachment_error(const std::string &w): std::logic_error(w) { } + virtual ~attachment_error() throw() { } +}; + + class Vehicle { public: