]> git.proxmox.com Git - mirror_edk2.git/blob - BaseTools/Source/Python/Eot/ParserWarning.py
UefiCpuPkg: Move AsmRelocateApLoopStart from Mpfuncs.nasm to AmdSev.nasm
[mirror_edk2.git] / BaseTools / Source / Python / Eot / ParserWarning.py
1 ## @file
2 # Warning information of Eot
3 #
4 # Copyright (c) 2007 - 2018, Intel Corporation. All rights reserved.<BR>
5 #
6 # SPDX-License-Identifier: BSD-2-Clause-Patent
7 #
8 class Warning (Exception):
9 ## The constructor
10 #
11 # @param self The object pointer
12 # @param Str The message to record
13 # @param File The FDF name
14 # @param Line The Line number that error occurs
15 #
16 def __init__(self, Str, File = None, Line = None):
17 self.message = Str
18 self.FileName = File
19 self.LineNumber = Line
20 self.ToolName = 'EOT'