]>
git.proxmox.com Git - mirror_edk2.git/blob - BaseTools/Source/Python/Ecc/ParserWarning.py
1 ## The exception class that used to report error messages when preprocessing
3 # Currently the "ToolName" is set to be "ECC PP".
5 class Warning (Exception):
8 # @param self The object pointer
9 # @param Str The message to record
10 # @param File The FDF name
11 # @param Line The Line number that error occurs
13 def __init__(self
, Str
, File
= None, Line
= None):
16 self
.LineNumber
= Line
17 self
.ToolName
= 'ECC PP'