Serializable, Comparable<FormException.FormError>public static enum FormException.FormError extends Enum<FormException.FormError>
SystemCapability.Aafwk#ABILITY| 枚举常量 | 说明 |
|---|---|
ABILITY_NOT_EXIST |
The ability can not be find in system.
|
BIND_PROVIDER_FAILED |
Failed to bind the Form Manager Service to the provider service.
|
BMS_RPC_ERROR |
Failed to obtain the RPC object of the Bundle Manager Service because the service is not started.
|
DIMENSION_NOT_EXIST |
The dimension is not exist in the form.
|
EXCEED_MAX_FORMS_PER_CLIENT |
The total number of added forms exceeds the maximum per client.
|
EXCEED_MAX_INSTANCES_PER_FORM |
The number of form instances generated using the same form configuration exceeds the maximum allowed by
the system.
|
EXCEED_MAX_SYSTEM_FORMS |
The total number of added forms exceeds the maximum allowed by the system.
|
EXCEED_MAX_SYSTEM_TEMP_FORMS |
The total number of added temp forms exceeds the maximum in system.
|
FA_NOT_INSTALLED |
The ability is not insalled.
|
FMS_RPC_ERROR |
Failed to obtain the RPC object of the Form Manager Service because the service is not started.
|
FORM_CFG_NOT_MATCH_ID |
The form configuration to be obtained using an existing form ID is different from that obtained for the
first time.
|
FORM_DUPLICATE_ADDED |
Failed to obtain the form requested by the client because another form with the same form ID is in use.
|
FORM_ID_NOT_EXIST |
The ID of the form to be operated does not exist in the Form Manager Service.
|
FORM_IN_RECOVER |
The form is being restored.
|
FORM_INFO_NOT_FOUND |
Failed to obtain the configuration information about the form specified by the request parameters.
|
FORM_NOT_SELF_OWNED |
The form being requested was added by other applications and cannot be operated by the current
application.
|
GET_BUNDLE_FAILED |
Failed to obtain the bundle to which the form belongs based on the request parameters.
|
INIT_LAYOUT_FAILED |
Failed to initialize the form layout based on the request parameters.
|
INPUT_PARAM_INVALID |
Invalid input parameter during form operation.
|
INTERNAL_ERROR |
A common internal error occurs during form processing.
|
MAX_REFRESH |
Indicates that the number of periodic refreshes has reached the limit.
|
MAX_REQUEST |
too many request that time.
|
MODULE_NOT_EXIST |
The module can not be find in system.
|
PERMISSION_DENY |
The application does not have permission to use forms.
|
PROVIDER_DELETE_FAIL |
The Form Manager Service failed to instruct the form provider to delete the form.
|
SEND_BMS_MSG_ERROR |
Failed to send the request to the Bundle Manager Service.
|
SEND_FMS_MSG_ERROR |
Failed to send the request to the Form Manager Service.
|
| 限定符和类型 | 方法 | 说明 |
|---|---|---|
static FormException.FormError |
valueOf(String name) |
返回带有指定名称的该类型的枚举常量。
字符串必须与用于声明该类型的枚举常量的
标识符完全匹配。(不允许有多余
的空格字符。)
|
static FormException.FormError[] |
values() |
按照声明该枚举类型的常量的顺序, 返回
包含这些常量的数组。该方法可用于迭代
常量, 如下所示:
for (FormException.FormError c : FormException.FormError.values()) System.out.println(c); |
public static final FormException.FormError INPUT_PARAM_INVALID
public static final FormException.FormError FMS_RPC_ERROR
public static final FormException.FormError BMS_RPC_ERROR
public static final FormException.FormError SEND_FMS_MSG_ERROR
public static final FormException.FormError SEND_BMS_MSG_ERROR
public static final FormException.FormError PERMISSION_DENY
ohos.permission.REQUIRE_FORM and ohos.permission.GET_BUNDLE_INFO_PRIVILEGED permissions.public static final FormException.FormError FORM_INFO_NOT_FOUND
public static final FormException.FormError GET_BUNDLE_FAILED
public static final FormException.FormError INIT_LAYOUT_FAILED
public static final FormException.FormError BIND_PROVIDER_FAILED
public static final FormException.FormError FORM_DUPLICATE_ADDED
public static final FormException.FormError FORM_CFG_NOT_MATCH_ID
public static final FormException.FormError FORM_ID_NOT_EXIST
public static final FormException.FormError EXCEED_MAX_SYSTEM_FORMS
public static final FormException.FormError EXCEED_MAX_INSTANCES_PER_FORM
public static final FormException.FormError FORM_NOT_SELF_OWNED
public static final FormException.FormError PROVIDER_DELETE_FAIL
public static final FormException.FormError EXCEED_MAX_FORMS_PER_CLIENT
public static final FormException.FormError EXCEED_MAX_SYSTEM_TEMP_FORMS
public static final FormException.FormError MODULE_NOT_EXIST
public static final FormException.FormError ABILITY_NOT_EXIST
public static final FormException.FormError DIMENSION_NOT_EXIST
public static final FormException.FormError FA_NOT_INSTALLED
public static final FormException.FormError MAX_REQUEST
public static final FormException.FormError MAX_REFRESH
public static final FormException.FormError FORM_IN_RECOVER
public static final FormException.FormError INTERNAL_ERROR
public static FormException.FormError[] values()
for (FormException.FormError c : FormException.FormError.values()) System.out.println(c);
public static FormException.FormError valueOf(String name)
name - 要返回的枚举常量的名称。IllegalArgumentException - 如果该枚举类型没有带有指定名称的常量NullPointerException - 如果参数为空值