adding the logic for fetching the line number of exception.