def METHOD_NAME(self, line):
    if self.currentStackFrame is None:
        raise InternalError('No StackFrame instance available!')
    try:
        warnings = self.currentStackFrame.parseFileLine(line)
        self.reportWarnings(warnings, line)
        self.finishStackFrame(True) # Sets self.state
    except Exception as exc:
        self.reportError(str(exc), line)
        # Skip to next goroutine
        self.finishStackFrame(False)
        self.finishGoroutine(True)