X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=src%2Fscripting%2Fsquirrel_error.hpp;h=1191b5fbb461f84b58f6ee0ad06fd3868e5dd01e;hb=f5ad6f69da56235de950f21de30563802c6f2e06;hp=6bc91b026e1815b37092f5e99d1f2f635b67b0cc;hpb=ce0795230a1fbf9d4867f966aa6909d19975bfcf;p=supertux.git diff --git a/src/scripting/squirrel_error.hpp b/src/scripting/squirrel_error.hpp index 6bc91b026..1191b5fbb 100644 --- a/src/scripting/squirrel_error.hpp +++ b/src/scripting/squirrel_error.hpp @@ -1,15 +1,31 @@ -#ifndef __SQUIRREL_ERROR_HPP__ -#define __SQUIRREL_ERROR_HPP__ +// SuperTux +// Copyright (C) 2006 Matthias Braun +// +// This program is free software: you can redistribute it and/or modify +// it under the terms of the GNU General Public License as published by +// the Free Software Foundation, either version 3 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 General Public License for more details. +// +// You should have received a copy of the GNU General Public License +// along with this program. If not, see . + +#ifndef HEADER_SUPERTUX_SCRIPTING_SQUIRREL_ERROR_HPP +#define HEADER_SUPERTUX_SCRIPTING_SQUIRREL_ERROR_HPP #include #include +#include -namespace Scripting -{ +namespace scripting { /** Exception class for squirrel errors, it takes a squirrelvm and uses * sq_geterror() to retrieve additional information about the last error that - * occured and creates a readable message from that. + * occurred and creates a readable message from that. */ class SquirrelError : public std::exception { @@ -26,3 +42,4 @@ private: #endif +/* EOF */