public final class TimeoutException
extends java.lang.RuntimeException
GWTTestCase-derived class runs a
test in asynchronous mode and fails to complete within a specified timeout
period.GWTTestCase.delayTestFinish(int),
Serialized Form| Constructor and 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.
|
public TimeoutException()
public TimeoutException(int timeoutMillis)
timeoutMillis - the number of milliseconds that elapsed which caused
this exception to be thrownpublic TimeoutException(java.lang.String message)
message - the detail messagepublic TimeoutException(java.lang.String message,
java.lang.Throwable cause)
message - the detail messagecause - the exception that caused this exceptionpublic TimeoutException(java.lang.Throwable cause)
cause - the exception that caused this exception