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:
java.io.Serializable
Direct Known Subclasses:
ElementNotVisibleException, IllegalLocatorException, ImeActivationFailedException, ImeNotAvailableException, InvalidCookieDomainException, InvalidCoordinatesException, NoAlertPresentException, NotFoundException, StaleElementReferenceException, TimeoutException, UnableToSetCookieException, UnhandledAlertException, XPathLookupException

public class WebDriverException
extends java.lang.RuntimeException

See Also:
Serialized Form

Constructor Summary
WebDriverException()
           
WebDriverException(java.lang.String message)
           
WebDriverException(java.lang.String message, java.lang.Throwable cause)
           
WebDriverException(java.lang.Throwable cause)
           
 
Method Summary
 java.lang.String getDriverInformation()
           
static java.lang.String getDriverName(java.lang.StackTraceElement[] stackTraceElements)
           
 java.lang.String getMessage()
           
 java.lang.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
 

Constructor Detail

WebDriverException

public WebDriverException()

WebDriverException

public WebDriverException(java.lang.String message)

WebDriverException

public WebDriverException(java.lang.Throwable cause)

WebDriverException

public WebDriverException(java.lang.String message,
                          java.lang.Throwable cause)
Method Detail

getMessage

public java.lang.String getMessage()
Overrides:
getMessage in class java.lang.Throwable

getSystemInformation

public java.lang.String getSystemInformation()

getDriverInformation

public java.lang.String getDriverInformation()

getDriverName

public static java.lang.String getDriverName(java.lang.StackTraceElement[] stackTraceElements)


Copyright © 2011. All Rights Reserved.