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:
java.io.Serializable

public class IllegalLocatorException
extends WebDriverException

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

See Also:
Serialized Form

Constructor Summary
IllegalLocatorException(java.lang.String message)
           
IllegalLocatorException(java.lang.String message, java.lang.Throwable cause)
           
 
Method Summary
 
Methods inherited from class org.openqa.selenium.WebDriverException
getBuildInformation, getDriverInformation, getDriverName, getMessage, getSupportUrl, 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

IllegalLocatorException

public IllegalLocatorException(java.lang.String message)

IllegalLocatorException

public IllegalLocatorException(java.lang.String message,
                               java.lang.Throwable cause)


Copyright © 2011. All Rights Reserved.