java.lang.Object | ||||
↳ | java.lang.Throwable | |||
↳ | java.lang.Exception | |||
↳ | java.lang.RuntimeException | |||
↳ | com.datalogic.device.configuration.ConfigException |
ConfigException
is used for configuration related errors.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
int | ACCESS_VIOLATION_ERROR | The property is read only. | |||||||||
int | APPLY_FAILED | The application to the device of the configuration failed. | |||||||||
int | BARCODE_SERVICE_ERROR | It is a Barcode Service error. | |||||||||
int | COMMIT_ERROR | An error occurred while saving the configuration. | |||||||||
int | DECODER_BUSY_ERROR | The scan engine is busy, cannot accept commands. | |||||||||
int | DUPLICATE_NAME_ERROR | The specified name is already in use. | |||||||||
int | GENERIC_ERROR | Generic error, mostly due to a wrong parameter passed to a SDK method. | |||||||||
int | ID_ERROR | Parameter identifier is not supported. | |||||||||
int | JSON_ERROR | The JSON configuration file has an error. | |||||||||
int | JSON_NOT_FOUND | The JSON resource file was not found. | |||||||||
int | NOT_FOUND_ERROR | The specified object is not found. | |||||||||
int | NULL_POINTER_ERROR | It is a null pointer error. | |||||||||
int | OVERLAPPING_RULE_ERROR | There is a defined rule with an application context that overlaps with that of the rule. | |||||||||
int | PROFILE_ALREADY_LOADED_ERROR | There is already a manually loaded profile. | |||||||||
int | REMOTE_CALL_ERROR | When it's not possible to call Datalogic service. | |||||||||
int | REVERT_FAILED | The application to the device of the configuration failed. | |||||||||
int | SAVE_PROFILE_ERROR | Error saving the json file. | |||||||||
int | SERVICE_NOT_AVAILABLE | Database not accesible. | |||||||||
int | SPECIFIC_APPLY_FAILED | The apply on the specific service failed. | |||||||||
int | STORE_FAILED | Store on database failed. | |||||||||
int | SUCCESS | Success constant. | |||||||||
int | SUPPORT_ERROR | The property is not supported. | |||||||||
int | VALUE_ERROR | Parameter value is wrong. |
Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
bad_id_buffer | The buffer of parameters IDs that caused error, returned by the Configuration Subsystem. | ||||||||||
bad_id_length | The length of bad_id_buffer returned by the Configuration Subsystem. | ||||||||||
error_number | The error number returned by the Configuration Subsystem. |
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Constructs a ConfigException object.
| |||||||||||
Constructs a ConfigException object.
| |||||||||||
Constructs a ConfigException object that takes a
String parameter containing the reason the exception was
thrown. | |||||||||||
Constructs a ConfigException object that takes a
String parameter containing the reason the exception was
thrown. | |||||||||||
Constructs a ConfigException object that takes a
String parameter containing the reason the exception was
thrown. | |||||||||||
Constructs a ConfigException 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
|
The property is read only.
The application to the device of the configuration failed. A revert to the previous permanent configuration was done.
It is a Barcode Service error.
An error occurred while saving the configuration.
The scan engine is busy, cannot accept commands.
The specified name is already in use.
Generic error, mostly due to a wrong parameter passed to a SDK method.
Parameter identifier is not supported.
The JSON configuration file has an error.
The JSON resource file was not found.
The specified object is not found.
It is a null pointer error.
There is a defined rule with an application context that overlaps with that of the rule.
There is already a manually loaded profile.
When it's not possible to call Datalogic service.
The application to the device of the configuration failed. A revert to the previous permanent configuration failed. The configuration can be inconsistent. A reboot is suggested.
Error saving the json file.
Database not accesible.
The apply on the specific service failed.
Store on database failed.
Success constant.
The property is not supported.
Parameter value is wrong.
The buffer of parameters IDs that caused error, returned by the Configuration Subsystem. Only if bad_id_length > 0, bad_id_buffer is meaningful.
The length of bad_id_buffer returned by the Configuration Subsystem.
The error number returned by the Configuration Subsystem.
Constructs a ConfigException object.
ex | A ConfigException with an existing error code set.
|
---|
Constructs a ConfigException object that takes a
String
parameter containing the reason the exception was
thrown.
s | String indicating why the exception occurred.
|
---|
Constructs a ConfigException 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 ConfigException object that takes a
String
parameter containing the reason the exception was
thrown.
number | int representing the error code number.
|
---|
Constructs a ConfigException object that takes a
String
parameter containing the reason the exception was
thrown.
s | String indicating why the exception occurred. |
---|---|
id_buff | A int[] containing all the IDs that generated an error. |
buff_length | int size of the array.
|