Class RetryWithRequestedWaitException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.newrelic.telemetry.exceptions.ResponseException
-
- com.newrelic.telemetry.exceptions.RetryWithRequestedWaitException
-
- All Implemented Interfaces:
java.io.Serializable
public class RetryWithRequestedWaitException extends ResponseException
This exception is thrown when the request should be tried again after a period of time.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RetryWithRequestedWaitException(int waitTime, java.util.concurrent.TimeUnit timeUnit)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.concurrent.TimeUnit
getTimeUnit()
int
getWaitTime()
-