| java.lang.Object | ||||
| ↳ | java.lang.Throwable | |||
| ↳ | java.lang.Exception | |||
| ↳ | java.lang.RuntimeException | |||
| ↳ | com.datalogic.device.app.PackageInstallerException | |||
This exception is used for installer related errors.
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| int | ALREADY_INSTALLED | The application is already installed. | |||||||||
| int | APK_NOT_CURRENT_APP | Apk is not the appropriate to upgrade the current application. | |||||||||
| int | APK_NOT_FOUND | App not found. | |||||||||
| int | EMPTY_LIST | The passed list is empty. | |||||||||
| int | FAILURE | The commit has been refused with android.content.pm.PackageInstaller.STATUS_FAILURE. | |||||||||
| int | FAILURE_ABORTED | The commit has been refused with android.content.pm.PackageInstaller.STATUS_FAILURE_ABORTED. | |||||||||
| int | FAILURE_BLOCKED | The commit has been refused with android.content.pm.PackageInstaller.STATUS_FAILURE_BLOCKED. | |||||||||
| int | FAILURE_CONFLICT | The commit has been refused with android.content.pm.PackageInstaller.STATUS_FAILURE_CONFLICT. | |||||||||
| int | FAILURE_INCOMPATIBLE | The commit has been refused with android.content.pm.PackageInstaller.STATUS_FAILURE_INCOMPATIBLE. | |||||||||
| int | FAILURE_INVALID | The commit has been refused with android.content.pm.PackageInstaller.STATUS_FAILURE_INVALID. | |||||||||
| int | FAILURE_STORAGE | The commit has been refused with android.content.pm.PackageInstaller.STATUS_FAILURE_STORAGE. | |||||||||
| 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_PATH | The apk file doesn't exist. | |||||||||
| int | IO_ERROR | IO exception. | |||||||||
| int | NOT_INSTALLED | The application is not installed. | |||||||||
| int | NULL_POINTER_ERROR | Null pointer error. | |||||||||
| int | PENDING_USER_ACTION | The commit has been refused with android.content.pm.PackageInstaller.STATUS_PENDING_USER_ACTION. | |||||||||
| 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 | SESSION_WRONG_STATE | Wrong sequence of call on a PackageInstallerSession. | |||||||||
| int | SUCCESS | Success constant. | |||||||||
| int | UNBOUND_SERVICE | Remote service not bound. | |||||||||
| int | UNKNOWN_ERROR | The commit has been refused with android.content.pm.PackageInstaller.STATUS_FAILURE_INCOMPATIBLE. | |||||||||
| int | UPGRADE_VERSION_ERROR | The installed version is higher than that of the .apk intended for the upgrade. | |||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| error_number | The error number returned by the Installer's system services. | ||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Throwable
| |||||||||||
From class
java.lang.Object
| |||||||||||
The application is already installed.
Apk is not the appropriate to upgrade the current application.
App not found.
The passed list is empty.
The commit has been refused with android.content.pm.PackageInstaller.STATUS_FAILURE.
The commit has been refused with android.content.pm.PackageInstaller.STATUS_FAILURE_ABORTED.
The commit has been refused with android.content.pm.PackageInstaller.STATUS_FAILURE_BLOCKED.
The commit has been refused with android.content.pm.PackageInstaller.STATUS_FAILURE_CONFLICT.
The commit has been refused with android.content.pm.PackageInstaller.STATUS_FAILURE_INCOMPATIBLE.
The commit has been refused with android.content.pm.PackageInstaller.STATUS_FAILURE_INVALID.
The commit has been refused with android.content.pm.PackageInstaller.STATUS_FAILURE_STORAGE.
Generic error, mostly due to a wrong parameter passed to a SDK method.
Installer Service error.
The apk file doesn't exist.
IO exception.
The application is not installed.
Null pointer error.
The commit has been refused with android.content.pm.PackageInstaller.STATUS_PENDING_USER_ACTION.
It's not possible to call the remote service.
Security exception.
IllegalArgumentException exception.
Wrong sequence of call on a PackageInstallerSession.
Success constant.
Remote service not bound.
The commit has been refused with android.content.pm.PackageInstaller.STATUS_FAILURE_INCOMPATIBLE.
The installed version is higher than that of the .apk intended for the upgrade.
The error number returned by the Installer's system services.