]>
Commit | Line | Data |
---|---|---|
52302d4d LG |
1 | ## @file\r |
2 | # Warning information of Eot\r | |
3 | #\r | |
f7496d71 | 4 | # Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>\r |
52302d4d | 5 | #\r |
2e351cbe | 6 | # SPDX-License-Identifier: BSD-2-Clause-Patent\r |
52302d4d LG |
7 | #\r |
8 | class Warning (Exception):\r | |
9 | ## The constructor\r | |
10 | #\r | |
11 | # @param self The object pointer\r | |
12 | # @param Str The message to record\r | |
13 | # @param File The FDF name\r | |
14 | # @param Line The Line number that error occurs\r | |
15 | #\r | |
16 | def __init__(self, Str, File = None, Line = None):\r | |
17 | self.message = Str\r | |
18 | self.FileName = File\r | |
19 | self.LineNumber = Line\r | |
f7496d71 | 20 | self.ToolName = 'EOT'\r |