public class

RequestTimeoutException

extends RequestException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ com.google.gwt.http.client.RequestException
         ↳ com.google.gwt.http.client.RequestTimeoutException

Class Overview

Thrown to indicate that an HTTP request has timed out.

Required Module

Modules that use this class should inherit com.google.gwt.http.HTTP. {@gwt.include com/google/gwt/examples/http/InheritsExample.gwt.xml}

Summary

Public Constructors
RequestTimeoutException(Request request, int timeoutMillis)
Constructs a timeout exception for the given Request.
Public Methods
Request getRequest()
Returns the Request instance which timed out.
int getTimeoutMillis()
Returns the request timeout value in milliseconds.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public RequestTimeoutException (Request request, int timeoutMillis)

Constructs a timeout exception for the given Request.

Parameters
request the request which timed out
timeoutMillis the number of milliseconds which expired

Public Methods

public Request getRequest ()

Returns the Request instance which timed out.

Returns
  • the Request instance which timed out

public int getTimeoutMillis ()

Returns the request timeout value in milliseconds.

Returns
  • the request timeout value in milliseconds