org.openqa.selenium
Class WebDriverException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by org.openqa.selenium.WebDriverException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
ElementNotVisibleException, IllegalLocatorException, ImeActivationFailedException, ImeNotAvailableException, InvalidCookieDomainException, InvalidCoordinatesException, InvalidElementStateException, MoveTargetOutOfBoundsException, NotFoundException, SessionNotCreatedException, StaleElementReferenceException, TimeoutException, UnableToSetCookieException, UnhandledAlertException, UnsupportedCommandException, XPathLookupException

public class WebDriverException
extends RuntimeException

See Also:
Serialized Form

Constructor Summary
WebDriverException()
           
WebDriverException(String message)
           
WebDriverException(String message, Throwable cause)
           
WebDriverException(Throwable cause)
           
 
Method Summary
 BuildInfo getBuildInformation()
           
 String getDriverInformation()
           
static String getDriverName(StackTraceElement[] stackTraceElements)
           
 String getMessage()
           
 String getSupportUrl()
           
 String getSystemInformation()
           
 void setSessionId(String sessionId)
           
 
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

WebDriverException

public WebDriverException()

WebDriverException

public WebDriverException(String message)

WebDriverException

public WebDriverException(Throwable cause)

WebDriverException

public WebDriverException(String message,
                          Throwable cause)
Method Detail

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable

getSystemInformation

public String getSystemInformation()

getSupportUrl

public String getSupportUrl()

getBuildInformation

public BuildInfo getBuildInformation()

getDriverInformation

public String getDriverInformation()

setSessionId

public void setSessionId(String sessionId)

getDriverName

public static String getDriverName(StackTraceElement[] stackTraceElements)


Copyright © 2012. All Rights Reserved.