| java.lang.Object | ||||
| ↳ | java.lang.Throwable | |||
| ↳ | java.lang.Exception | |||
| ↳ | java.lang.RuntimeException | |||
| ↳ | com.datalogic.device.DeviceException | |||
This exception is used for device related errors.
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| int | DEVICE_SERVICE_ERROR | It is a Device Service error. | |||||||||
| int | GENERIC_ERROR | Generic error, mostly due to a wrong parameter passed to a SDK method. | |||||||||
| int | INPUT_SERVICE_ERROR | It is an Input Service error. | |||||||||
| int | LOCATION_SERVICE_ERROR | It is an Location Service error. | |||||||||
| int | NOTIFICATION_SERVICE_ERROR | It is an Notification Service error. | |||||||||
| int | NULL_POINTER_ERROR | It is a null pointer error. | |||||||||
| int | POWER_SERVICE_ERROR | It is an Power Service error. | |||||||||
| int | REMOTE_CALL_ERROR | When it's not possible to call Datalogic service. | |||||||||
| int | SUCCESS | Success constant. | |||||||||
| int | WAKEUP_SOURCE_ERROR | It is a Wakeup Source error. | |||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| error_number | The error number returned by the Device's system services. | ||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a DeviceException object.
| |||||||||||
Constructs a DeviceException object that takes a
String parameter containing the reason the exception was
thrown. | |||||||||||
Constructs a DeviceException object that takes a
String parameter containing the reason the exception was
thrown. | |||||||||||
Constructs a DeviceException object that takes a
String parameter containing the reason the exception was
thrown. | |||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Throwable
| |||||||||||
From class
java.lang.Object
| |||||||||||
It is a Device Service error.
Generic error, mostly due to a wrong parameter passed to a SDK method.
It is an Input Service error.
It is an Location Service error.
It is an Notification Service error.
It is a null pointer error.
It is an Power Service error.
When it's not possible to call Datalogic service.
Success constant.
It is a Wakeup Source error.
The error number returned by the Device's system services.
Constructs a DeviceException object that takes a
String parameter containing the reason the exception was
thrown.
| s | String indicating why the exception occurred.
|
|---|
Constructs a DeviceException object that takes a
String parameter containing the reason the exception was
thrown.
| s | String indicating why the exception occurred. |
|---|---|
| number | int indicating the error code number.
|
Constructs a DeviceException object that takes a
String parameter containing the reason the exception was
thrown.
| number | int indicating the error code number.
|
|---|