Adds an exception to the currently active span, if one exists.
The Throwable to be added to the currently active span.
Adds an exception to the provided span, if one exists.
The Span that will be associated with the exception.
The Throwable to be added to the provided span.