java.lang.Object | |
↳ | com.datalogic.device.ErrorManager |
This class provides access to error configuration related methods of the device. Through this class, Datalogic exceptions can be enabled; otherwise the standard error notification mechanism will be used, relying on simple integer return values. Only the specific exceptions, defined by this SDK, can be controlled can be controlled by this class, standard Java Exceptions are not subject to the configuration specified by the ErrorManager.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Tells if the error signaling mechanism, base on exceptions, is enabled.
| |||||||||||
Clear and empty the internal buffer that is in charge to collect all the occurred errors.
| |||||||||||
Enables the exception notification system.
| |||||||||||
Provides a List containing all the errors occurred,
since the last
clearErrors() invocation. | |||||||||||
Provides more informations regarding the last error occurred.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Tells if the error signaling mechanism, base on exceptions, is enabled.
boolean
It returns whether or not the exception mechanism is enabled.
Clear and empty the internal buffer that is in charge to collect all the occurred errors.
int
In case of success SUCCESS
is returned.
Enables the exception notification system. In case of error, a specific RuntimeException will be thrown.
enable | It specifies whether or not the custom Exception will be thrown. |
---|
int
In case of success SUCCESS
is returned.Provides a List containing all the errors occurred,
since the last clearErrors()
invocation.
ConfigException
or DecodeException
or DeviceException
.Provides more informations regarding the last error occurred.
ConfigException
or DecodeException
or DeviceException
. Null
in case of no known exception occurred.