org.openqa.selenium.support.ui
Class TimeoutException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.openqa.selenium.WebDriverException
                  extended by org.openqa.selenium.support.ui.TimeoutException
All Implemented Interfaces:
java.io.Serializable

public class TimeoutException
extends WebDriverException

A simple exception that is thrown if an ExpectedCondition is not met met by a Wait. See the documentation in WebDriverWait for more information.

See Also:
Serialized Form

Constructor Summary
TimeoutException(java.lang.String message)
          Time out a test, indicating why the timeout occurred.
TimeoutException(java.lang.String message, java.lang.Throwable cause)
          Time out a test, indicating why the timeout occurred and giving a cause.
 
Method Summary
 
Methods inherited from class org.openqa.selenium.WebDriverException
getDriverInformation, getDriverName, getMessage, getSystemInformation
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TimeoutException

public TimeoutException(java.lang.String message)
Time out a test, indicating why the timeout occurred.


TimeoutException

public TimeoutException(java.lang.String message,
                        java.lang.Throwable cause)
Time out a test, indicating why the timeout occurred and giving a cause.



Copyright © 2011. All Rights Reserved.