exception.h
Go to the documentation of this file.
1 /* Copyright (C) 2000-2004 Thomas Bopp, Thorsten Hampel, Ludger Merkens
2  *
3  * This program is free software; you can redistribute it and/or modify
4  * it under the terms of the GNU General Public License as published by
5  * the Free Software Foundation; either version 2 of the License, or
6  * (at your option) any later version.
7  *
8  * This program is distributed in the hope that it will be useful,
9  * but WITHOUT ANY WARRANTY; without even the implied warranty of
10  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11  * GNU General Public License for more details.
12  *
13  * You should have received a copy of the GNU General Public License
14  * along with this program; if not, write to the Free Software
15  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
16  *
17  * $Id: exception.h,v 1.1 2008/03/31 13:39:57 exodusd Exp $
18  */
19 
20 #ifndef EXCEPTION_H
21 #define EXCEPTION_H
22 #define E_ERROR (1<<0 ) // an error has occured
23 #define E_LOCAL (1<<1 ) // local exception, user defined
24 #define E_MEMORY (1<<2 ) // some memory messed up, uninitialized mapping,etc
25 #define E_EVENT (1<<3 ) // some exception on an event
26 #define E_ACCESS (1<<4 )
27 #define E_PASSWORD (1<<5 )
28 #define E_NOTEXIST (1<<6 )
29 #define E_FUNCTION (1<<7 )
30 #define E_FORMAT (1<<8 )
31 #define E_OBJECT (1<<9 )
32 #define E_TYPE (1<<10 )
33 #define E_MOVE (1<<11 )
34 #define E_LOOP (1<<12 )
35 #define E_LOCK (1<<13)
36 #define E_QUOTA (1<<14)
37 #define E_TIMEOUT (1<<15)
38 #define E_CONNECT (1<<16)
39 #define E_UPLOAD (1<<17)
40 #define E_DOWNLOAD (1<<18)
41 #define E_DELETED (1<<19)
42 #define E_ERROR_PROTOCOL (1<<20)
43 #endif