public class LongRunningQueryException extends Exception
ticket parameter in the body of the response. In this case, the ticket should be added
to the calling URL as a parameter to retry.| Modifier and Type | Field and Description |
|---|---|
URI |
location |
String |
ticket |
long |
timeToRetry |
| Constructor and Description |
|---|
LongRunningQueryException(URI location,
long timeToRetry,
String ticket) |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic final URI location
public final long timeToRetry
public final String ticket
public LongRunningQueryException(@Nullable URI location, long timeToRetry, @Nullable String ticket)
location - The URL to go to for getting the future result. If this is null, use the ticket parameter to construct
a URL.timeToRetry - The time in milliseconds to wait until retrying.ticket - the ticket to use for polling for the future results. This should ONLY be used in location is null.Copyright © 2013. All Rights Reserved.