00001 /* 00002 ** TowBowlTactics, an adaptation of the tabletop game Blood Bowl. 00003 ** 00004 ** Copyright (C) 2006 The TBT Team. 00005 ** 00006 ** This program is free software; you can redistribute it and/or 00007 ** modify it under the terms of the GNU General Public License 00008 ** as published by the Free Software Foundation; either version 2 00009 ** of the License, or (at your option) any later version. 00010 ** 00011 ** The complete GNU General Public Licence Notice can be found as the 00012 ** `NOTICE' file in the root directory. 00013 ** 00014 ** The TBT Team consists of people listed in the `AUTHORS' file. 00015 */ 00016 00017 #ifndef GUIERROR_H 00018 # define GUIERROR_H 00019 00020 # include "Global.hh" 00021 00026 class GUIError 00027 { 00028 public: 00029 GUIError(const string& reason = "no reason"); 00030 const string getMessage(); 00031 private: 00032 string msg; 00033 }; 00034 00035 #endif
1.4.7