org.openqa.selenium
Class UnhandledAlertException

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

public class UnhandledAlertException
extends WebDriverException

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.openqa.selenium.WebDriverException
DRIVER_INFO, SESSION_ID
 
Constructor Summary
UnhandledAlertException(String commandName)
           
UnhandledAlertException(String commandName, String alertText)
           
 
Method Summary
 Alert getAlert()
           
 
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

UnhandledAlertException

public UnhandledAlertException(String commandName)

UnhandledAlertException

public UnhandledAlertException(String commandName,
                               String alertText)
Method Detail

getAlert

public Alert getAlert()


Copyright © 2012. All Rights Reserved.