]>
Commit | Line | Data |
---|---|---|
3eb9473e | 1 | /*++\r |
2 | \r | |
3 | Copyright (c) 2004, Intel Corporation \r | |
4 | All rights reserved. This program and the accompanying materials \r | |
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 | |
34 | )\r | |
35 | ;\r | |
36 | int\r | |
37 | TryException (\r | |
38 | VOID\r | |
39 | )\r | |
40 | ;\r | |
41 | char *\r | |
42 | CatchException (\r | |
43 | VOID\r | |
44 | )\r | |
45 | ;\r | |
46 | int\r | |
47 | ExceptionThrown (\r | |
48 | VOID\r | |
49 | )\r | |
50 | ;\r | |
51 | int\r | |
52 | ThrowException (\r | |
53 | char *EMsg\r | |
54 | )\r | |
55 | ;\r | |
56 | \r | |
57 | #endif // ifndef _EXCEPTIONS_H_\r |