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:
Serializable
This exception is thrown when a
GWTTestCase
-derived class runs a
test in asynchronous mode and fails to complete within a specified timeout
period.- See Also:
-
Constructor Summary
ConstructorDescriptionTimeoutException
(int timeoutMillis) Constructs a timeout exception for a given number of milliseconds.TimeoutException
(String message) Constructs a timeout exception with the specified detail message.TimeoutException
(String message, Throwable cause) Constructs a timeout exception with the specified detail message and cause.TimeoutException
(Throwable cause) Constructs a timeout exception with the specified cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
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
Constructs a timeout exception with the specified detail message.- Parameters:
message
- the detail message
-
TimeoutException
Constructs a timeout exception with the specified detail message and cause.- Parameters:
message
- the detail messagecause
- the exception that caused this exception
-
TimeoutException
Constructs a timeout exception with the specified cause.- Parameters:
cause
- the exception that caused this exception
-