UNIVERS  15.3
UNIVERS base processing software API
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
Exceptions.h
1 /* Exceptions.h $Revision: 2.10 $ $Date: 1999/07/23 02:35:37 $ */
2 
3 #ifndef __Exceptions_h
4 
5 #define __Exceptions_h
6 
7 /*************************************************************
8  * Exception codes (C/C++) and class to throw (C++ only).
9  *************************************************************/
10 
11 /* List of common error codes of VSP applications and libraries */
12 #include <mix/ErrCodes.h>
13 
14 /* Instead of standard C++ exceptions */
15 #define SimulateExceptions
16 #ifdef NDEBUG
17 /* don't turn off debugging facilities */
18 #undef NDEBUG
19 #endif /* NDEBUG */
20 #include <mix/ExSim.h>
21 
22 /*
23  * Values of this type may be thrown or returned by a function
24  */
25 #ifndef _ErrCode_
26 typedef int ErrCode;
27 #define _ErrCode_
28 #endif
29 
30 
31 #endif /* Exceptions.h */