Package org.openqa.selenium
Class NoAlertPresentException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.openqa.selenium.WebDriverException
-
- org.openqa.selenium.NotFoundException
-
- org.openqa.selenium.NoAlertPresentException
-
- All Implemented Interfaces:
java.io.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
BASE_SUPPORT_URL, DRIVER_INFO, SESSION_ID
-
-
Constructor Summary
Constructors Constructor Description NoAlertPresentException()
NoAlertPresentException(java.lang.String message)
NoAlertPresentException(java.lang.String message, java.lang.Throwable cause)
NoAlertPresentException(java.lang.Throwable cause)
-
Method Summary
-
Methods inherited from class org.openqa.selenium.WebDriverException
addInfo, getAdditionalInformation, getBuildInformation, getDriverName, getMessage, getRawMessage, getSupportUrl, getSystemInformation
-
-
-
-
Constructor Detail
-
NoAlertPresentException
public NoAlertPresentException()
-
NoAlertPresentException
public NoAlertPresentException(java.lang.String message)
-
NoAlertPresentException
public NoAlertPresentException(java.lang.Throwable cause)
-
NoAlertPresentException
public NoAlertPresentException(java.lang.String message, java.lang.Throwable cause)
-
-