public class JSException extends SeleniumPlusException
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
ERROR_CODE_EXCEPTION |
static java.lang.String |
ERROR_CODE_NOT_SET |
static java.lang.String |
ERROR_CODE_RESERVED |
protected java.lang.Object |
jsError |
CODE_NO_JS_EXECUTOR, CODE_OBJECT_IS_INVISIBLE, CODE_OBJECT_IS_NULL, CODE_TYPE_IS_WRONG, CODE_VERIFICATION_FAIL
code, CODE_ACTION_NOT_SUPPORTED, CODE_CONTAINER_ISEMPTY, CODE_CONTAINER_ISFULL, CODE_CONTENT_ISNULL, CODE_ERROR_SET_FILE_ATTR, CODE_ObjectNotFoundException, CODE_PropertyNotFoundException, CODE_TargetGoneException, CODE_TIMEOUT_REACHED, CODE_UNKONWN_ERROR, CODE_UnsupportedActionException, CODE_WindowActivateFailedException, NAME_FT_ObjectNotFoundException, NAME_FT_PropertyNotFoundException, NAME_FT_TargetGoneException, NAME_FT_UnsupportedActionException, NAME_FT_WindowActivateFailedException, NAME_SeleniumException
Constructor and Description |
---|
JSException(java.lang.Object obj,
java.lang.String msg) |
JSException(java.lang.Object jsError,
java.lang.String detailMessage,
int code) |
JSException(java.lang.Object obj,
java.lang.String methodName,
java.lang.String msg) |
JSException(java.lang.String detailMessage) |
JSException(java.lang.String detailMessage,
int code) |
JSException(java.lang.String detailMessage,
java.lang.String code) |
JSException(java.lang.String detailMessage,
java.lang.String code,
java.lang.String info) |
JSException(java.lang.String message,
java.lang.Throwable th) |
JSException(java.lang.Throwable th) |
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
getJsError() |
static java.lang.String |
getJsErrorMessage(java.lang.Object jsError) |
static JSException |
instance(java.lang.Object jsError,
int code) |
getInfo, setInfo
getCode, setCode
public static final java.lang.String ERROR_CODE_NOT_SET
public static final java.lang.String ERROR_CODE_RESERVED
public static final java.lang.String ERROR_CODE_EXCEPTION
protected java.lang.Object jsError
public JSException(java.lang.String detailMessage)
public JSException(java.lang.String detailMessage, int code)
public JSException(java.lang.Object jsError, java.lang.String detailMessage, int code)
public JSException(java.lang.String detailMessage, java.lang.String code)
public JSException(java.lang.String detailMessage, java.lang.String code, java.lang.String info)
public JSException(java.lang.Object obj, java.lang.String methodName, java.lang.String msg)
public JSException(java.lang.Object obj, java.lang.String msg)
public JSException(java.lang.Throwable th)
public JSException(java.lang.String message, java.lang.Throwable th)
public static JSException instance(java.lang.Object jsError, int code)
public java.lang.Object getJsError()
public static java.lang.String getJsErrorMessage(java.lang.Object jsError)
Copyright © SAS Institute. All Rights Reserved.