|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.google.gwt.http.client.RequestException
com.google.gwt.http.client.RequestTimeoutException
public class RequestTimeoutException
Thrown to indicate that an HTTP request has timed out.
com.google.gwt.http.HTTP
.
<module> <!-- other inherited modules, such as com.google.gwt.user.User --> <inherits name="com.google.gwt.http.HTTP"/> <!-- additional module settings --> </module>
Constructor Summary | |
---|---|
RequestTimeoutException(Request request,
int timeoutMillis)
Constructs a timeout exception for the given Request . |
Method Summary | |
---|---|
Request |
getRequest()
Returns the Request instance which timed out. |
int |
getTimeoutMillis()
Returns the request timeout value in milliseconds. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public RequestTimeoutException(Request request, int timeoutMillis)
Request
.
request
- the request which timed outtimeoutMillis
- the number of milliseconds which expiredMethod Detail |
---|
public Request getRequest()
Request
instance which timed out.
Request
instance which timed outpublic int getTimeoutMillis()
|
GWT 2.7.0 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |