public final class BrowserstackAutomateKeyException extends Exception
| Modifier and Type | Field and Description |
|---|---|
private String |
failedKey
Key that failed to pass validation.
|
private String |
matchPattern
Regex validation pattern.
|
private static long |
serialVersionUID
Compiler-suggested declaration.
|
| Constructor and Description |
|---|
BrowserstackAutomateKeyException(String failedKeyParam,
String matchPatternParam)
Instantiates new exception.
|
| Modifier and Type | Method and Description |
|---|---|
(package private) String |
getFailedKey()
Returns key that failed to validate.
|
(package private) String |
getMatchPattern()
Returns pattern used to validate key.
|
String |
getMessage()
Returns message describing error.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringprivate static final long serialVersionUID
private String failedKey
private String matchPattern
String getFailedKey()
String getMatchPattern()
public String getMessage()
getMessage in class ThrowableCopyright © 2018. All rights reserved.