Package com.google.gwt.junit.client
Class TimeoutException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.google.gwt.junit.client.TimeoutException
-
- All Implemented Interfaces:
java.io.Serializable
public final class TimeoutException extends java.lang.RuntimeException
This exception is thrown when aGWTTestCase
-derived class runs a test in asynchronous mode and fails to complete within a specified timeout period.- See Also:
GWTTestCase.delayTestFinish(int)
, Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TimeoutException()
TimeoutException(int timeoutMillis)
Constructs a timeout exception for a given number of milliseconds.TimeoutException(java.lang.String message)
Constructs a timeout exception with the specified detail message.TimeoutException(java.lang.String message, java.lang.Throwable cause)
Constructs a timeout exception with the specified detail message and cause.TimeoutException(java.lang.Throwable cause)
Constructs a timeout exception with the specified cause.
-
-
-
Constructor Detail
-
TimeoutException
public TimeoutException()
-
TimeoutException
public TimeoutException(int timeoutMillis)
Constructs a timeout exception for a given number of milliseconds.- Parameters:
timeoutMillis
- the number of milliseconds that elapsed which caused this exception to be thrown
-
TimeoutException
public TimeoutException(java.lang.String message)
Constructs a timeout exception with the specified detail message.- Parameters:
message
- the detail message
-
TimeoutException
public TimeoutException(java.lang.String message, java.lang.Throwable cause)
Constructs a timeout exception with the specified detail message and cause.- Parameters:
message
- the detail messagecause
- the exception that caused this exception
-
TimeoutException
public TimeoutException(java.lang.Throwable cause)
Constructs a timeout exception with the specified cause.- Parameters:
cause
- the exception that caused this exception
-
-