The exception to handle.
The current retry count.
Whether or not to endlessly retry.
Whether or not we are running headlessly, in which case all terminal output will be skipped.
MissingBroadcasterTokenException
if the delegate throws it. InvalidCredentialsException
likewise. EmptyDataJSONException also. ErrorJSONExceptoin if the delegate throws it and the JSON embedded contains an error code in the 400-499 range. Exception if the delegate throws it and endlessly is not passed.
Handles exceptions thrown by retryDelegate.