java.lang.Object | |
↳ | com.samsung.android.knox.net.vpn.VpnErrorValues |
The class provides the list of error codes which will be returned by API's in
GenericVpnPolicy
.
API level 15 |
KNOX 2.4 |
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | ERROR_ADD_PER_APP_VPN_FAILED_USER_VPN_DIFFERENT_ADMIN | The administrator is trying to add an application to per-app VPN for a VPN profile, but different administrator has added a user VPN in the same user space. | |||||||||
int | ERROR_ADD_PER_APP_VPN_FAILED_USER_VPN_SAME_ADMIN | The administrator is trying to add an application to per-app VPN for a VPN profile, but the same administrator has added a user VPN in the same user space for the same or different profile. | |||||||||
int | ERROR_ADD_USER_VPN_FAILED_PER_APP_VPN_ACTIVATED | The administrator is trying to add user VPN for a profile, but the same administrator has added a per-app VPN for the same or different profile in the same user space. | |||||||||
int | ERROR_ADMIN_NOT_CONTAINER_OWNER | Administrator is not the owner of the container. | |||||||||
int | ERROR_API_NOT_APPLICABLE_SYSTEM_PROFILE | API is not applicable for profile of system type, almost all the API except from
createVpnProfile(String) . |
|||||||||
int | ERROR_APP_UID_ADDED_DIFFERENT_PROFILE | The error will be thrown if the applications UID has been added (although with a different package name) in a different profile. | |||||||||
int | ERROR_CHAINING_FEATURE_NOT_SUPPORTED | The error will be thrown if a profile belonging to a VPN vendor has enabled normal VPN, then cannot use chaining feature. | |||||||||
int | ERROR_CONNECTION_TYPE_VALUE | The administrator is trying to add an invalid connection type value, other than
ondemand and keepon . |
|||||||||
int | ERROR_INVALID_CHAINING_VALUE | Invalid chaining value is entered by the administrator. | |||||||||
int | ERROR_INVALID_CHAR_PROFILE_NAME | The profile name contains invalid characters like whitespace. | |||||||||
int | ERROR_INVALID_CONTAINER_ID | The container id entered by the administrator is an invalid id. | |||||||||
int | ERROR_INVALID_JSON_FORMAT | The JSON format entered by the administrator is in invalid format. | |||||||||
int | ERROR_INVALID_PROFILE_PARAMETERS | The JSON string entered by the administrator does not contain mandatory info required by the
framework like the vpn_type , vpn_route_type ,
protocol_type . |
|||||||||
int | ERROR_INVALID_PROXY_CONFIGURATION | Error occurred due to invalid proxy configuration. | |||||||||
int | ERROR_INVALID_UID_PID_VALUE | The administrator is trying to add an invalid uidpid_search_enabled value, other
than 0 and 1. |
|||||||||
int | ERROR_INVALID_USB_TETHERING_CONFIGURATION | Error occured due to Invalid usb-tethering configuration; Additional Info: The error could occur due to the following profile misconfiguration; The profile is either an on-demand profile or a chaining profile with value 0 or if uid/pid tagging feature is enabled; Another profile with usb tethering has been configured by the same admin or different admin; |
|||||||||
int | ERROR_INVALID_VPN_MODE_VALUE | The error will be thrown if invalid VPN mode of operation value is entered. | |||||||||
int | ERROR_NON_CHAINED_PROFILE_NOT_STARTED | The administrator is trying to start an chained profile without starting the non-chained profile. | |||||||||
int | ERROR_NULL_PARAMETER | The parameter for the API entered by the administrator is of null value which
includes the vendor package name. |
|||||||||
int | ERROR_ON_DEMAND_NOT_SUPPORTED | The administrator provided configuration does not support on-demand feature. | |||||||||
int | ERROR_PACKAGE_NOT_OWNED_PROFILE | The application is not currently owned by the profile. | |||||||||
int | ERROR_PACKAGE_NOT_PRESENT_DEVICE | The administrator is trying to remove an application which is not present in the device. | |||||||||
int | ERROR_PACKAGE_WITH_BLANK | Package name entered by the administrator is invalid. | |||||||||
int | ERROR_PER_APP_PACKAGE_ADDED_DIFFERENT_ADMIN | The administrator is trying to add application to a profile, but the application is already added to a profile by different administrator. | |||||||||
int | ERROR_PER_APP_PACKAGE_ADDED_SAME_ADMIN | The administrator is trying to add application to a profile, but the application is already added to the same or different profile by the same administrator. | |||||||||
int | ERROR_PROFILE_ALREADY_ACTIVATED | The administrator is trying to activate a profile which is already in activated state. | |||||||||
int | ERROR_PROFILE_ALREADY_DEACTIVATED | The administrator is trying to de-activate a profile which is already in de-activated state. | |||||||||
int | ERROR_PROFILE_NAME_EXISTS_DIFFERENT_ADMIN | The administrator is trying to create a VPN profile, but it already exists in the device and it is created by a different administrator. | |||||||||
int | ERROR_PROFILE_NAME_EXISTS_SAME_ADMIN | The administrator is trying to create a VPN profile, but it already exists in the device and it is created by the same administrator. | |||||||||
int | ERROR_PROFILE_NAME_MAX_LENGTH | The profile name has length has exceeded the maximum of 128 characters. | |||||||||
int | ERROR_PROFILE_NAME_NOT_EXIST_DEVICE | The profile name entered by the administrator does not exist in the device. | |||||||||
int | ERROR_PROXY_FEATURE_NOT_SUPPORTED | The administrator provided configuration does not support proxy feature. | |||||||||
int | ERROR_REMOVE_PER_APP_VPN_FAILED_USER_VPN_DIFFERENT_ADMIN | The administrator is trying to remove a application from a per-app VPN profile, but a different administrator has added a user VPN in the same user space. | |||||||||
int | ERROR_REMOVE_PER_APP_VPN_FAILED_USER_VPN_SAME_ADMIN | The administrator is trying to remove a application from a per-app VPN profile, but the same administrator has added a user VPN in the same user space for the same or different profile. | |||||||||
int | ERROR_REMOVE_PROFILE_ACTIVATED_STATE | The administrator is trying to remove a profile which is in activated state. | |||||||||
int | ERROR_REMOVE_USER_VPN_FAILED_PER_APP_VPN_ACTIVATED | The administrator is trying to remove user VPN for a profile, but the same administrator has added a per-app VPN for the same or different profile in the same user space. | |||||||||
int | ERROR_STORING_PROXY_PASSWORD | Error occurred due to failure in saving the proxy server password credentials in TIMA Keystore. | |||||||||
int | ERROR_STORING_PROXY_USERNAME | Error occurred due to failure in saving the proxy server username credentials in TIMA Keystore. | |||||||||
int | ERROR_USER_VPN_ALREADY_ACTIVATED_DIFFERENT_ADMIN | The administrator is trying to create a user VPN for a profile, but some other administrator has already created user VPN for the user space. | |||||||||
int | ERROR_USER_VPN_ALREADY_ACTIVATED_SAME_ADMIN | The administrator is trying to create a user VPN for a profile, but the same administrator has already created user VPN for the same or different profile. | |||||||||
int | ERROR_VENDOR_ENABLED_CHAINING | The error will be thrown if a profile belonging to a VPN vendor has enabled chaining, then cannot create other VPN profiles. | |||||||||
int | ERROR_VENDOR_ENABLED_VPN | The error will be thrown if a profile belonging to a VPN vendor has enabled normal VPN, then cannot use chaining feature. | |||||||||
int | ERROR_VENDOR_ERROR | Vendor has returned an error indicating that the call to the API was not successful. | |||||||||
int | ERROR_VPN_RECREATE_PROFILE_FAIL | The error will be thrown if the VPN profile recreation process fails. | |||||||||
int | ERROR_VPN_SERVICE_NOT_STARTED | Error in starting the VPN service. | |||||||||
int | OPERATION_NOT_ALLOWED_FOR_VENDOR | The error will be thrown if vendor is not allowed to perform the attempted operattion. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
The administrator is trying to add an application to per-app VPN for a VPN profile, but
different administrator has added a user VPN in the same user space.
API level 15 |
KNOX 2.4 |
The administrator is trying to add an application to per-app VPN for a VPN profile, but the
same administrator has added a user VPN in the same user space for the same or different
profile.
API level 15 |
KNOX 2.4 |
The administrator is trying to add user VPN for a profile, but the same administrator has
added a per-app VPN for the same or different profile in the same user space.
API level 15 |
KNOX 2.4 |
Administrator is not the owner of the container.
API level 15 |
KNOX 2.4 |
API is not applicable for profile of system type, almost all the API except from
createVpnProfile(String)
.
API level 15 |
KNOX 2.4 |
The error will be thrown if the applications UID has been added (although with a different
package name) in a different profile.
API level 20 |
KNOX 2.7 |
The error will be thrown if a profile belonging to a VPN vendor has enabled normal VPN, then
cannot use chaining feature.
API level 15 |
KNOX 2.4 |
The administrator is trying to add an invalid connection type value, other than
ondemand
and keepon
.
API level 15 |
KNOX 2.4 |
Invalid chaining value is entered by the administrator.
API level 15 |
KNOX 2.4 |
The profile name contains invalid characters like whitespace.
API level 15 |
KNOX 2.4 |
The container id entered by the administrator is an invalid id.
API level 15 |
KNOX 2.4 |
The JSON format entered by the administrator is in invalid format.
API level 15 |
KNOX 2.4 |
The JSON string entered by the administrator does not contain mandatory info required by the
framework like the vpn_type
, vpn_route_type
,
protocol_type
.
API level 15 |
KNOX 2.4 |
Error occurred due to invalid proxy configuration.
API level 18 |
KNOX 2.5.1 |
The administrator is trying to add an invalid uidpid_search_enabled
value, other
than 0 and 1.
API level 15 |
KNOX 2.4 |
Error occured due to Invalid usb-tethering configuration;
Additional Info:
The error could occur due to the following profile misconfiguration;
The profile is either an on-demand profile or a chaining profile with value 0 or if uid/pid tagging feature is enabled;
Another profile with usb tethering has been configured by the same admin or different admin;
KNOX 3.5 |
The error will be thrown if invalid VPN mode of operation value is entered.
API level 15 |
KNOX 2.4 |
The administrator is trying to start an chained profile without starting the non-chained
profile.
API level 15 |
KNOX 2.4 |
The parameter for the API entered by the administrator is of null
value which
includes the vendor package name.
API level 15 |
KNOX 2.4 |
The administrator provided configuration does not support on-demand feature.
API level 15 |
KNOX 2.4 |
The application is not currently owned by the profile.
API level 15 |
KNOX 2.4 |
The administrator is trying to remove an application which is not present in the device.
API level 15 |
KNOX 2.4 |
Package name entered by the administrator is invalid.
API level 15 |
KNOX 2.4 |
The administrator is trying to add application to a profile, but the application is already
added to a profile by different administrator.
API level 15 |
KNOX 2.4 |
The administrator is trying to add application to a profile, but the application is already
added to the same or different profile by the same administrator.
API level 15 |
KNOX 2.4 |
The administrator is trying to activate a profile which is already in activated state.
API level 15 |
KNOX 2.4 |
The administrator is trying to de-activate a profile which is already in de-activated state.
API level 15 |
KNOX 2.4 |
The administrator is trying to create a VPN profile, but it already exists in the device and
it is created by a different administrator.
API level 15 |
KNOX 2.4 |
The administrator is trying to create a VPN profile, but it already exists in the device and
it is created by the same administrator.
API level 15 |
KNOX 2.4 |
The profile name has length has exceeded the maximum of 128 characters.
API level 15 |
KNOX 2.4 |
The profile name entered by the administrator does not exist in the device.
API level 15 |
KNOX 2.4 |
The administrator provided configuration does not support proxy feature.
API level 17 |
KNOX 2.5 |
The administrator is trying to remove a application from a per-app VPN profile, but a
different administrator has added a user VPN in the same user space.
API level 15 |
KNOX 2.4 |
The administrator is trying to remove a application from a per-app VPN profile, but the same
administrator has added a user VPN in the same user space for the same or different profile.
API level 15 |
KNOX 2.4 |
The administrator is trying to remove a profile which is in activated state.
API level 15 |
KNOX 2.4 |
The administrator is trying to remove user VPN for a profile, but the same administrator has
added a per-app VPN for the same or different profile in the same user space.
API level 15 |
KNOX 2.4 |
Error occurred due to failure in saving the proxy server password credentials in TIMA
Keystore.
API level 17 |
KNOX 2.5 |
Error occurred due to failure in saving the proxy server username credentials in TIMA
Keystore.
API level 17 |
KNOX 2.5 |
The administrator is trying to create a user VPN for a profile, but some other administrator
has already created user VPN for the user space.
API level 15 |
KNOX 2.4 |
The administrator is trying to create a user VPN for a profile, but the same administrator
has already created user VPN for the same or different profile.
API level 15 |
KNOX 2.4 |
The error will be thrown if a profile belonging to a VPN vendor has enabled chaining, then
cannot create other VPN profiles.
API level 15 |
KNOX 2.4 |
The error will be thrown if a profile belonging to a VPN vendor has enabled normal VPN, then
cannot use chaining feature.
API level 15 |
KNOX 2.4 |
Vendor has returned an error indicating that the call to the API was not successful.
API level 15 |
KNOX 2.4 |
The error will be thrown if the VPN profile recreation process fails.
API level 35 |
KNOX 3.8 |
Error in starting the VPN service.
API level 15 |
KNOX 2.4 |
The error will be thrown if vendor is not allowed to perform the attempted operattion.
API level 30 |
KNOX 3.4.1 |