1 ## The exception class that used to report error messages when preprocessing
\r
3 # Currently the "ToolName" is set to be "ECC PP".
\r
5 class Warning (Exception):
\r
8 # @param self The object pointer
\r
9 # @param Str The message to record
\r
10 # @param File The FDF name
\r
11 # @param Line The Line number that error occurs
\r
13 def __init__(self, Str, File = None, Line = None):
\r
15 self.FileName = File
\r
16 self.LineNumber = Line
\r
17 self.ToolName = 'ECC PP'