Set the exception for the public interface
also increment the retry count if the throwable is non-null.
implementations should use this method when they
register the throwable. It should only be called once per retry attempt
because it increments a counter.
Use of this method is not enforced by the framework - it is a service
provider contract for authors of policies.
throwable the exception that caused the current retry attempt to