org.openqa.selenium
Class NoAlertPresentException

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.NotFoundException
                      extended by org.openqa.selenium.NoAlertPresentException
All Implemented Interfaces:
Serializable

public class NoAlertPresentException
extends NotFoundException

Indicates that a user has tried to access an alert when one is not present.

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.openqa.selenium.WebDriverException
DRIVER_INFO, SESSION_ID
 
Constructor Summary
NoAlertPresentException()
           
NoAlertPresentException(String message)
           
NoAlertPresentException(String message, Throwable cause)
           
NoAlertPresentException(Throwable cause)
           
 
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

NoAlertPresentException

public NoAlertPresentException()

NoAlertPresentException

public NoAlertPresentException(String message)

NoAlertPresentException

public NoAlertPresentException(Throwable cause)

NoAlertPresentException

public NoAlertPresentException(String message,
                               Throwable cause)


Copyright © 2012. All Rights Reserved.