def METHOD_NAME(cls, exc_id, tb):
    # type: (uuid.UUID, TracebackType) -> SpanExceptionProbe
    _exc_id = str(exc_id)
    frame = tb.tb_frame
    filename = frame.f_code.co_filename
    line = tb.tb_lineno
    name = frame.f_code.co_name
    message = "exception info for %s, in %s, line %d (exception ID %s)" % (name, filename, line, _exc_id)
    return cls(
        probe_id=_exc_id,
        version=0,
        tags={},
        source_file=filename,
        line=line,
        template=message,
        segments=[LiteralTemplateSegment(message)],
        take_snapshot=True,
        limits=DEFAULT_CAPTURE_LIMITS,
        condition=None,
        condition_error_rate=0.0,
        rate=float("inf"),
    )