Class IllegalLocatorException

  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:

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(String message)
IllegalLocatorException(String message, 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


public IllegalLocatorException(String message)


public IllegalLocatorException(String message,
                               Throwable cause)

Copyright © 2011. All Rights Reserved.