Class DigitalOcean2RateLimitExceededException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.jclouds.rest.RateLimitExceededException
org.jclouds.digitalocean2.exceptions.DigitalOcean2RateLimitExceededException
All Implemented Interfaces:
Serializable

@Beta public class DigitalOcean2RateLimitExceededException extends RateLimitExceededException
Provides detailed information for rate limit exceptions.
See Also:
  • Constructor Details

    • DigitalOcean2RateLimitExceededException

      public DigitalOcean2RateLimitExceededException(HttpResponse response)
    • DigitalOcean2RateLimitExceededException

      public DigitalOcean2RateLimitExceededException(HttpResponse response, Throwable cause)
  • Method Details

    • totalRequestsPerHour

      public Integer totalRequestsPerHour()
    • remainingRequests

      public Integer remainingRequests()
    • timeToNextAvailableRequest

      public Long timeToNextAvailableRequest()