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, ImeActivationFailedException, ImeNotAvailableException, InvalidCookieDomainException, InvalidCoordinatesException, InvalidElementStateException, MoveTargetOutOfBoundsException, NotFoundException, SessionNotCreatedException, StaleElementReferenceException, TimeoutException, UnableToSetCookieException, UnhandledAlertException, UnsupportedCommandException

public class WebDriverException
extends RuntimeException

See Also:
Serialized Form

Field Summary
static String DRIVER_INFO
           
static String SESSION_ID
           
 
Constructor Summary
WebDriverException()
           
WebDriverException(String message)
           
WebDriverException(String message, Throwable cause)
           
WebDriverException(Throwable cause)
           
 
Method Summary
 void addInfo(String key, String value)
           
 String getAdditionalInformation()
           
 BuildInfo getBuildInformation()
           
static String getDriverName(StackTraceElement[] stackTraceElements)
           
 String getMessage()
           
 String getSupportUrl()
           
 String 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
 

Field Detail

SESSION_ID

public static final String SESSION_ID
See Also:
Constant Field Values

DRIVER_INFO

public static final String DRIVER_INFO
See Also:
Constant Field Values
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()

getDriverName

public static String getDriverName(StackTraceElement[] stackTraceElements)

addInfo

public void addInfo(String key,
                    String value)

getAdditionalInformation

public String getAdditionalInformation()


Copyright © 2013. All Rights Reserved.