def METHOD_NAME(self, tool_locator):
    if tool_locator.tool_directory:
        raise ToolNotFoundException(
            f"Tool-info module for {self._wrapped.name()} "
            f"does not support parameter --tool-directory. "
            f"Instead, you can add the tool to PATH, "
            f"execute benchexec from the tool directory, "
            f"or upgrade the tool-info module."
        )
    assert tool_locator.use_path and tool_locator.use_current
    # This is the behavior that old tool-info modules are expected to have.
    try:
        return self._wrapped.METHOD_NAME()
    except SystemExit as e:
        raise ToolNotFoundException(str(e)) from e