]> git.proxmox.com Git - mirror_edk2.git/blame_incremental - BaseTools/Source/Python/Eot/ParserWarning.py
BaseTools: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / BaseTools / Source / Python / Eot / ParserWarning.py
... / ...
CommitLineData
1## @file\r
2# Warning information of Eot\r
3#\r
4# Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>\r
5#\r
6# SPDX-License-Identifier: BSD-2-Clause-Patent\r
7#\r
8class 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
20 self.ToolName = 'EOT'\r