| java.lang.Object | ||||
| ↳ | java.lang.Throwable | |||
| ↳ | java.lang.Exception | |||
| ↳ | java.lang.RuntimeException | |||
| ↳ | com.datalogic.decode.DecodeException | |||
DecodeException is used for decoder related errors.
| Constants | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| int | BARCODE_SERVICE_ERROR | It is a Barcode Service error. | |||||||||
| int | DECODER_BUSY_ERROR | The scan engine is busy, cannot accept commands. | |||||||||
| int | DECODER_CANNOT_START | A scan session cannot be started because a condition is not met. | |||||||||
| int | DECODER_NOT_AVAILABLE_ERROR | The scan engine is not initialized or not connected. | |||||||||
| int | GENERIC_ERROR | Generic error, mostly due to a wrong parameter passed to a SDK method. | |||||||||
| int | LISTENER_ERROR | The Scanner Service cannot register or unregister the required listener. | |||||||||
| int | NULL_POINTER_ERROR | It is a null pointer error. | |||||||||
| int | REMOTE_CALL_ERROR | When it's not possible to call Datalogic service. | |||||||||
| int | SUCCESS | Success constant. | |||||||||
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| error_number | The error number returned by the Decoding Subsystem. | ||||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a DecodeException object.
| |||||||||||
Constructs a DecodeException object.
| |||||||||||
Constructs a DecodeException object that takes a
String parameter containing the reason the exception was
thrown. | |||||||||||
Constructs a DecodeException object that takes a
String parameter containing the reason the exception was
thrown. | |||||||||||
Constructs a DecodeException 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 Barcode Service error.
The scan engine is busy, cannot accept commands.
A scan session cannot be started because a condition is not met.
The scan engine is not initialized or not connected.
Generic error, mostly due to a wrong parameter passed to a SDK method.
The Scanner Service cannot register or unregister the required listener.
It is a null pointer error.
When it's not possible to call Datalogic service.
Success constant.
Constructs a DecodeException object.
| ex | A DecodeException with an existing error code set.
|
|---|
Constructs a DecodeException object that takes a
String parameter containing the reason the exception was
thrown.
| s | String indicating why the exception occurred.
|
|---|
Constructs a DecodeException object that takes a
String parameter containing the reason the exception was
thrown.
| s | String indicating why the exception occurred. |
|---|---|
| number | int representing the error code number.
|
Constructs a DecodeException object that takes a
String parameter containing the reason the exception was
thrown.
| number | int representing the error code number.
|
|---|