asserts -> LocalExceptions

This commit is contained in:
floty
2007-10-14 11:01:44 +00:00
parent e54242b711
commit 7f07d066aa
11 changed files with 202 additions and 81 deletions
+35
View File
@@ -0,0 +1,35 @@
/***************************************************************************
* Copyright (C) 2006 by FThauer FHammer *
* f.thauer@web.de *
* *
* 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 2 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, write to the *
* Free Software Foundation, Inc., *
* 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
***************************************************************************/
#ifndef _ENGINE_MSG_H_
#define _ENGINE_MSG_H_
// Engine errors -> LocalExceptions
#define ERR_SEAT_NOT_FOUND 10001
#define ERR_ACTIVE_PLAYER_NOT_FOUND 10002
#define ERR_RUNNING_PLAYER_NOT_FOUND 10003
#define ERR_NEXT_DEALER_NOT_FOUND 10010
#define ERR_NEXT_ACTIVE_PLAYER_NOT_FOUND 10011
#define ERR_FORMER_RUNNING_PLAYER_NOT_FOUND 10012
#define ERR_NO_WINNER 10020
#endif