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