aboutsummaryrefslogtreecommitdiff
path: root/advtrains/textures/advtrains_dtrack_bumper_placer.png
diff options
context:
space:
mode:
authororwell96 <orwell@bleipb.de>2020-03-08 18:50:04 +0100
committerorwell96 <orwell@bleipb.de>2020-03-08 18:50:04 +0100
commit372cd7eb802934a4b567f61c84dc634ee1a463dd (patch)
tree8a99b69d309c77655f1958fa2367ce9701718892 /advtrains/textures/advtrains_dtrack_bumper_placer.png
parent3b87ac5372c8efa3b8cd3f19a1fc2c9fa88341a2 (diff)
downloadadvtrains-372cd7eb802934a4b567f61c84dc634ee1a463dd.tar.gz
advtrains-372cd7eb802934a4b567f61c84dc634ee1a463dd.tar.bz2
advtrains-372cd7eb802934a4b567f61c84dc634ee1a463dd.zip
Get rid of the "Subway Train" item (was an ugly hack anyways, and is obsolete now)
Diffstat (limited to 'advtrains/textures/advtrains_dtrack_bumper_placer.png')
0 files changed, 0 insertions, 0 deletions
'>160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180
/*
Minetest
Copyright (C) 2013 celeron55, Perttu Ahola <celeron55@gmail.com>

This program is free software; you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation; either version 2.1 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License along
with this program; if not, write to the Free Software Foundation, Inc.,
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/

#ifndef EXCEPTIONS_HEADER
#define EXCEPTIONS_HEADER

#include <exception>
#include <string>


class BaseException : public std::exception
{
public:
	BaseException(const std::string &s) throw(): m_s(s) {}
	~BaseException() throw() {}
	virtual const char * what() const throw()
	{
		return m_s.c_str();
	}
protected:
	std::string m_s;
};

class AsyncQueuedException : public BaseException {
public:
	AsyncQueuedException(const std::string &s): BaseException(s) {}
};

class NotImplementedException : public BaseException {
public:
	NotImplementedException(const std::string &s): BaseException(s) {}
};

class AlreadyExistsException : public BaseException {
public:
	AlreadyExistsException(const std::string &s): BaseException(s) {}
};

class VersionMismatchException : public BaseException {
public:
	VersionMismatchException(const std::string &s): BaseException(s) {}
};

class FileNotGoodException : public BaseException {
public: