]>
Commit | Line | Data |
---|---|---|
0d2711a6 LG |
1 | ## @file\r |
2 | # This file is used to define common Exceptions class used in python tools\r | |
3 | #\r | |
4 | # Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>\r | |
5 | # This program and the accompanying materials\r | |
6 | # are licensed and made available under the terms and conditions of the BSD License\r | |
7 | # which accompanies this distribution. The full text of the license may be found at\r | |
8 | # http://opensource.org/licenses/bsd-license.php\r | |
9 | #\r | |
10 | # THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r | |
11 | # WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r | |
12 | \r | |
13 | ## Exceptions used in Expression\r | |
14 | class EvaluationException(Exception):\r | |
15 | pass\r | |
16 | \r | |
17 | class BadExpression(EvaluationException):\r | |
18 | pass\r | |
19 | \r | |
20 | class WrnExpression(Exception):\r | |
21 | pass\r | |
22 | \r | |
23 | ## Exceptions used in macro replacements\r | |
24 | class MacroException(Exception):\r | |
25 | pass\r | |
26 | \r | |
27 | class SymbolNotFound(MacroException):\r | |
28 | pass\r | |
29 | \r |