org.openqa.selenium
Class IllegalLocatorException

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.IllegalLocatorException
All Implemented Interfaces:
Serializable

Deprecated. Superseded by InvalidSelectorException

public class IllegalLocatorException
extends WebDriverException

Thrown when a By cannot handle the arguments it is given. The most obvious case where this exception would be thrown is when By.className() is used with a compound class name.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.openqa.selenium.WebDriverException
DRIVER_INFO, SESSION_ID
 
Constructor Summary
IllegalLocatorException(String message)
          Deprecated.  
IllegalLocatorException(String message, Throwable cause)
          Deprecated.  
 
Method Summary
 
Methods inherited from class org.openqa.selenium.WebDriverException
addInfo, getBuildInformation, getDriverInformation, getDriverName, getMessage, getSupportUrl, getSystemInformation, setSessionId
 
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

IllegalLocatorException

public IllegalLocatorException(String message)
Deprecated. 

IllegalLocatorException

public IllegalLocatorException(String message,
                               Throwable cause)
Deprecated. 


Copyright © 2012. All Rights Reserved.