#include <string>
#include <stdexcept>
#include "util/log/logger.h"
Go to the source code of this file.
|
| FIFE |
| All FIFE related code is in this namespace.
|
|
|
| FIFE::FIFE_EXCEPTION_DECL (SDLException,"SDL reported something bad") |
|
| FIFE::FIFE_EXCEPTION_DECL (NotFound,"Something was searched, but not found") |
|
| FIFE::FIFE_EXCEPTION_DECL (NotSet,"Something was not set correctly") |
|
| FIFE::FIFE_EXCEPTION_DECL (IndexOverflow,"Someone tried to access a non-existing element") |
|
| FIFE::FIFE_EXCEPTION_DECL (InvalidFormat,"Found invalid data") |
|
| FIFE::FIFE_EXCEPTION_DECL (CannotOpenFile,"File couldn't be opened") |
|
| FIFE::FIFE_EXCEPTION_DECL (InvalidConversion,"Tried an invalid conversion") |
|
| FIFE::FIFE_EXCEPTION_DECL (NotSupported,"This action was not supported") |
|
| FIFE::FIFE_EXCEPTION_DECL (NameClash,"A name or identifier is already in use") |
|
| FIFE::FIFE_EXCEPTION_DECL (Duplicate,"A duplicate item was added, where this is not allowed") |
|
| FIFE::FIFE_EXCEPTION_DECL (ScriptException,"Error related to scripting functionality") |
|
| FIFE::FIFE_EXCEPTION_DECL (EventException,"Error related to event functionality") |
|
| FIFE::FIFE_EXCEPTION_DECL (GuiException,"Error related to gui functionality") |
|
| FIFE::FIFE_EXCEPTION_DECL (InconsistencyDetected,"An inconsistency in FIFE internals was detected. Please report this is a FIFE Bug.") |
|
| FIFE::FIFE_EXCEPTION_DECL (OutOfMemory,"Buy more ram ;)") |
|
#define FIFE_EXCEPTION_DECL |
( |
|
_name, |
|
|
|
_description |
|
) |
| |
Value:class _name : public Exception { \
public: \
const std::string& getTypeStr() const { static const std::string s = #_name; return s; } \
const std::string& getDescription() const { static const std::string s = _description; return s; } \
}
static Logger _log(LM_AUDIO)
#define FL_ERR(logger, msg)
Definition at line 66 of file exception.h.