Class TimeoutException

All Implemented Interfaces:
Serializable

public final class TimeoutException extends RuntimeException
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 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

      public TimeoutException(String message)
      Constructs a timeout exception with the specified detail message.
      Parameters:
      message - the detail message
    • TimeoutException

      public TimeoutException(String message, Throwable cause)
      Constructs a timeout exception with the specified detail message and cause.
      Parameters:
      message - the detail message
      cause - the exception that caused this exception
    • TimeoutException

      public TimeoutException(Throwable cause)
      Constructs a timeout exception with the specified cause.
      Parameters:
      cause - the exception that caused this exception