X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=source%2Flibr2c2%2Fvehicle.h;h=8990a5b538d68c0f144b2404db636229ec6f9f00;hb=66c2c7ca5a4bd369293959bc211b040834343381;hp=ce56666f473f93f0222d3b209c292e6cf712fafb;hpb=d18d5c1c3cf417e20840238eec4f3caa431fa2b5;p=r2c2.git diff --git a/source/libr2c2/vehicle.h b/source/libr2c2/vehicle.h index ce56666..8990a5b 100644 --- a/source/libr2c2/vehicle.h +++ b/source/libr2c2/vehicle.h @@ -1,10 +1,3 @@ -/* $Id$ - -This file is part of R²C² -Copyright © 2010-2011 Mikkosoft Productions, Mikko Rasa -Distributed under the GPL -*/ - #ifndef LIBR2C2_VEHICLE_H_ #define LIBR2C2_VEHICLE_H_ @@ -16,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: