public class ConfigException
extends java.lang.RuntimeException
ConfigException is used for configuration related errors.| Modifier and Type | Field and Description |
|---|---|
static int |
APPLY_FAILED
The application to the device of the configuration failed.
|
int[] |
bad_id_buffer
The buffer of parameters IDs that caused error, returned by the
Configuration Subsystem.
|
int |
bad_id_length
The length of bad_id_buffer returned by the Configuration Subsystem.
|
static int |
BARCODE_SERVICE_ERROR
It is a Barcode Service error.
|
static int |
COMMIT_ERROR
An error occurred while saving the configuration.
|
static int |
DECODER_BUSY_ERROR
The scan engine is busy, cannot accept commands.
|
int |
error_number
The error number returned by the Configuration Subsystem.
|
static int |
GENERIC_ERROR
Generic error, mostly due to a wrong parameter passed to a SDK method.
|
static int |
ID_ERROR
Parameter identifier is not supported.
|
static int |
JSON_ERROR
The JSON configuration file has an error.
|
static int |
JSON_NOT_FOUND
The JSON resource file was not found.
|
static int |
NULL_POINTER_ERROR
It is a null pointer error.
|
static int |
REMOTE_CALL_ERROR
When it's not possible to call Datalogic service.
|
static int |
REVERT_FAILED
The application to the device of the configuration failed.
|
static int |
SERVICE_NOT_AVAILABLE
Database not accesible.
|
static int |
SPECIFIC_APPLY_FAILED
The apply on the specific service failed.
|
static int |
STORE_FAILED
Store on database failed.
|
static int |
SUCCESS
Success constant.
|
static int |
SUPPORT_ERROR
The property is not supported.
|
static int |
VALUE_ERROR
Parameter value is wrong.
|
| Constructor and Description |
|---|
ConfigException()
Constructs a ConfigException object.
|
ConfigException(ConfigException ex)
Constructs a ConfigException object.
|
ConfigException(int number)
Constructs a ConfigException object that takes a
String parameter containing the reason the exception was
thrown. |
ConfigException(java.lang.String s)
Constructs a ConfigException object that takes a
String parameter containing the reason the exception was
thrown. |
ConfigException(java.lang.String s,
int number)
Constructs a ConfigException object that takes a
String parameter containing the reason the exception was
thrown. |
ConfigException(java.lang.String s,
int[] id_buff,
int buff_length)
Constructs a ConfigException object that takes a
String parameter containing the reason the exception was
thrown. |
public static final int SUCCESS
public static final int BARCODE_SERVICE_ERROR
public static final int NULL_POINTER_ERROR
public static final int GENERIC_ERROR
public static final int REMOTE_CALL_ERROR
public static final int ID_ERROR
public static final int VALUE_ERROR
public static final int COMMIT_ERROR
public static final int DECODER_BUSY_ERROR
public static final int SUPPORT_ERROR
public static final int JSON_ERROR
public static final int JSON_NOT_FOUND
public static final int APPLY_FAILED
public static final int REVERT_FAILED
public static final int STORE_FAILED
public static final int SERVICE_NOT_AVAILABLE
public static final int SPECIFIC_APPLY_FAILED
public int error_number
public int[] bad_id_buffer
public int bad_id_length
public ConfigException()
public ConfigException(ConfigException ex)
ex - A ConfigException with an existing error code set.public ConfigException(java.lang.String s)
String parameter containing the reason the exception was
thrown.s - String indicating why the exception occurred.public ConfigException(java.lang.String s,
int number)
String parameter containing the reason the exception was
thrown.s - String indicating why the exception occurred.number - int representing the error code number.public ConfigException(int number)
String parameter containing the reason the exception was
thrown.number - int representing the error code number.public ConfigException(java.lang.String s,
int[] id_buff,
int buff_length)
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.