]>
Commit | Line | Data |
---|---|---|
3eb9473e | 1 | /*++\r |
2 | \r | |
4b1e1121 HT |
3 | Copyright (c) 2004, Intel Corporation. All rights reserved.<BR>\r |
4 | This program and the accompanying materials \r | |
3eb9473e | 5 | are licensed and made available under the terms and conditions of the BSD License \r |
6 | which accompanies this distribution. The full text of the license may be found at \r | |
7 | http://opensource.org/licenses/bsd-license.php \r | |
8 | \r | |
9 | THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, \r | |
10 | WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. \r | |
11 | \r | |
12 | Module Name: \r | |
13 | \r | |
14 | Exceptions.h\r | |
15 | \r | |
16 | Abstract:\r | |
17 | \r | |
18 | Defines and function prototypes for the ProcessDsc utility.\r | |
19 | \r | |
20 | --*/\r | |
21 | \r | |
22 | #ifndef _EXCEPTIONS_H_\r | |
23 | #define _EXCEPTIONS_H_\r | |
24 | \r | |
25 | #define VOID void\r | |
26 | #define MAX_EXCEPTION_NESTING 4\r | |
27 | \r | |
28 | //\r | |
29 | // Function prototypes\r | |
30 | //\r | |
31 | int\r | |
32 | InitExceptions (\r | |
33 | VOID\r | |
e00e1d46 | 34 | );\r |
3eb9473e | 35 | int\r |
36 | TryException (\r | |
37 | VOID\r | |
e00e1d46 | 38 | );\r |
3eb9473e | 39 | char *\r |
40 | CatchException (\r | |
41 | VOID\r | |
e00e1d46 | 42 | );\r |
3eb9473e | 43 | int\r |
44 | ExceptionThrown (\r | |
45 | VOID\r | |
e00e1d46 | 46 | );\r |
3eb9473e | 47 | int\r |
48 | ThrowException (\r | |
49 | char *EMsg\r | |
e00e1d46 | 50 | );\r |
3eb9473e | 51 | \r |
52 | #endif // ifndef _EXCEPTIONS_H_\r |