aboutsummaryrefslogtreecommitdiff
path: root/data/mods/default/textures/furnace_side.png
blob: 63cb162fe5315f3b8c921c9e09be95c1a0ac573e (plain)
ofshex dumpascii
0000 89 50 4e 47 0d 0a 1a 0a 00 00 00 0d 49 48 44 52 00 00 00 10 00 00 00 10 08 06 00 00 00 1f f3 ff .PNG........IHDR................
0020 61 00 00 00 04 73 42 49 54 08 08 08 08 7c 08 64 88 00 00 00 09 70 48 59 73 00 00 0e c4 00 00 0e a....sBIT....|.d.....pHYs.......
0040 c4 01 95 2b 0e 1b 00 00 00 8e 49 44 41 54 38 8d 8d 53 cb 15 80 20 0c ab 3c 06 c8 a8 8c 9e 0d f4 ...+......IDAT8..S......<.......
0060 a0 f5 61 49 8b b9 00 96 c4 f4 c3 31 c6 38 ed 01 00 df 1a 49 db 7d 37 33 eb 16 40 f2 43 50 a4 39 ..aI.......1.8.....I.}73..@.CP.9
0080 de d4 c5 59 04 c0 22 f8 71 a0 82 2e 54 11 a5 83 0c 31 85 f9 dc 63 30 23 65 f1 5f 0e 2a bc 5d a8 ...Y..".q...T....1...c0#e._.*.].
00a0 5a 95 75 05 c0 ea 40 59 af d2 e9 bb e1 a9 c8 24 ef 14 94 65 9f 05 df 67 42 6d 57 ed 0a b2 06 3b Z.u...@Y.......$...e...gBmW....;
00c0 42 84 ec 82 9f 63 4d d4 40 2d 8f 29 fb 6b 5a 83 59 cd d7 f8 16 aa 3a 5d 50 c7 60 ff 88 a1 7a 31 B....cM.@-.).kZ.Y.....:]P.`...z1
00e0 00 00 00 00 49 45 4e 44 ae 42 60 82 ....IEND.B`.
'n80' href='#n80'>80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175
/*
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>

class BaseException : public std::exception
{
public:
	BaseException(const char *s)
	{
		m_s = s;
	}
	virtual const char * what() const throw()
	{
		return m_s;
	}
	const char *m_s;
};

class AsyncQueuedException : public BaseException
{
public:
	AsyncQueuedException(const char *s):
		BaseException(s)
	{}
};

class NotImplementedException : public BaseException
{
public:
	NotImplementedException(const char *s):
		BaseException(s)
	{}
};

class AlreadyExistsException : public BaseException
{
public:
	AlreadyExistsException(const char *s):
		BaseException(s)
	{}
};

class VersionMismatchException : public BaseException
{
public:
	VersionMismatchException(const char *s):
		BaseException(s)
	{}
};

class FileNotGoodException : public BaseException
{
public:
	FileNotGoodException(const char *s):
		BaseException(s)
	{}
};

class SerializationError : public BaseException
{
public:
	SerializationError(const char *s):
		BaseException(s)
	{}
};

class LoadError : public BaseException
{
public:
	LoadError(const char *s):
		BaseException(s)
	{}
};

class ContainerFullException : public BaseException
{
public:
	ContainerFullException(const char *s):
		BaseException(s)
	{}
};

class SettingNotFoundException : public BaseException
{
public:
	SettingNotFoundException(const char *s):
		BaseException(s)
	{}
};

class InvalidFilenameException : public BaseException
{
public:
	InvalidFilenameException(const char *s):
		BaseException(s)
	{}
};

class ProcessingLimitException : public BaseException
{
public:
	ProcessingLimitException(const char *s):
		BaseException(s)
	{}
};

class CommandLineError : public BaseException
{
public:
	CommandLineError(const char *s):
		BaseException(s)
	{}
};

class ItemNotFoundException : public BaseException
{
public:
	ItemNotFoundException(const char *s):
		BaseException(s)
	{}
};

/*
	Some "old-style" interrupts:
*/

class InvalidPositionException : public BaseException
{
public:
	InvalidPositionException():
		BaseException("Somebody tried to get/set something in a nonexistent position.")
	{}
	InvalidPositionException(const char *s):
		BaseException(s)
	{}
};

class TargetInexistentException : public std::exception
{
	virtual const char * what() const throw()
	{
		return "Somebody tried to refer to something that doesn't exist.";
	}
};

class NullPointerException : public std::exception
{
	virtual const char * what() const throw()
	{
		return "NullPointerException";
	}
};

#endif