def __init__(self, line, char):
        """Set the line and character which caused the exception."""
        self.line = line
        self.char = char
def __init__ ( self , line , char ) : self . line = line self . char = char
Set the line and character which caused the exception.