public final class TimeoutException extends RuntimeException
GWTTestCase
-derived class runs a
test in asynchronous mode and fails to complete within a specified timeout
period.Constructor and Description |
---|
TimeoutException() |
TimeoutException(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.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, setStackTrace, toString
public TimeoutException()
public TimeoutException(int timeoutMillis)
timeoutMillis
- the number of milliseconds that elapsed which caused
this exception to be thrownpublic TimeoutException(String message)
message
- the detail messagepublic TimeoutException(String message, Throwable cause)
message
- the detail messagecause
- the exception that caused this exceptionpublic TimeoutException(Throwable cause)
cause
- the exception that caused this exceptionCopyright © 2016. All rights reserved.