java.lang.Object | ||||
↳ | java.lang.Throwable | |||
↳ | java.lang.Exception | |||
↳ | java.lang.RuntimeException | |||
↳ | com.datalogic.device.app.AppManagerException |
This exception is used for AppManager related errors.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | APK_NOT_FOUND | App not found. | |||||||||
int | EMPTY_LIST | The passed list is empty. | |||||||||
int | GENERIC_ERROR | Generic error, mostly due to a wrong parameter passed to a SDK method. | |||||||||
int | INSTALLER_SERVICE_ERROR | Installer Service error. | |||||||||
int | INVALID_ARGUMENT_ERROR | Invalid argument error. | |||||||||
int | IO_ERROR | IO exception. | |||||||||
int | NOT_INSTALLED | The application is not installed. | |||||||||
int | NO_PERMISSIONS_TO_BE_GRANTED | There are no permissions declared to be granted. | |||||||||
int | NULL_POINTER_ERROR | Null pointer error. | |||||||||
int | PACKAGE_NOT_FOUND_ERROR | Package not found error. | |||||||||
int | PERMISSION_NOT_GRANTED_ERROR | There are no permissions declared to be granted. | |||||||||
int | REMOTE_CALL_ERROR | It's not possible to call the remote service. | |||||||||
int | SECURITY_ERROR | Security exception. | |||||||||
int | SESSION_PARAM_ERROR | IllegalArgumentException exception. | |||||||||
int | SUCCESS | Success constant. | |||||||||
int | UNBOUND_SERVICE | Remote service not bound. |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
error_number | The error number returned by the Installer's system services. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs an AppManagerException object.
| |||||||||||
Constructs an GENERIC_ERROR AppManagerException object.
| |||||||||||
Constructs an AppManagerException object that takes a
int parameter containing the reason the exception was
thrown. | |||||||||||
Constructs an AppManagerException object that takes a
int parameter containing the reason the exception was
thrown. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Throwable
| |||||||||||
From class
java.lang.Object
|
App not found.
The passed list is empty.
Generic error, mostly due to a wrong parameter passed to a SDK method.
Installer Service error.
Invalid argument error.
IO exception.
The application is not installed.
There are no permissions declared to be granted.
Null pointer error.
Package not found error.
There are no permissions declared to be granted.
It's not possible to call the remote service.
Security exception.
IllegalArgumentException exception.
Success constant.
Remote service not bound.
The error number returned by the Installer's system services.
Constructs an GENERIC_ERROR AppManagerException object.
The String
parameter is concatenated to the exception message.
s | String String concatenated to the error message.
|
---|
Constructs an AppManagerException object that takes a
int
parameter containing the reason the exception was
thrown. The String
prameter is concatenated to the exception message.
s | String String concatenated to the error message. |
---|---|
number | int indicating the error code number.
|
Constructs an AppManagerException object that takes a
int
parameter containing the reason the exception was
thrown.
number | int indicating the error code number.
|
---|