def METHOD_NAME(self, line):
    try:
        self.currentGoroutine = Goroutine()
        warnings = self.currentGoroutine.parseLine(line)
        self.reportWarnings(warnings, line)
        self.state = State.getFunction
    except Exception as exc:
        self.reportError(str(exc), line)
        # Skip to next goroutine
        self.finishGoroutine(False)