|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.sap.ip.me.api.services.MEException
com.sap.ip.me.api.pios.PIOSException
com.sap.ip.me.api.pios.scanner.ScannerException
An exception thrown when an error occurs during scanner operation.
PIOSException
,
Serialized FormField Summary | |
static int |
SCANNER_CLOSE_FAILED
Constant to indicate that scanner close failed. |
static int |
SCANNER_END_READ_FAILED
Constant to indicate that scanner cancel read request failed. |
static int |
SCANNER_EVENT_LISTENER_NOT_SPECIFIED
Constant to indicate that an event listener must be specified before calling the startRead method. |
static int |
SCANNER_GET_SOFTTRIGGER_FAILED
Constant to indicate that scanner soft trigger state could not be obtained. |
static int |
SCANNER_IN_READ_MODE
Constant to indicate that a successful endRead call must occur before performing the desired operation. |
static int |
SCANNER_INVALID_CONFIGURATION_FILE
Constant to indicate invalid scanner configuration file. |
static int |
SCANNER_NOT_IN_READ_MODE
Constant to indicate that a successful startRead call must occur before performing the desired operation. |
static int |
SCANNER_OPEN_FAILED
Constant to indicate that scanner open failed. |
static int |
SCANNER_OPERATION_NOT_AVAILABLE_IN_WEDGE_MODE
Constant to indicate error while performing an operation that is not supported in wedge mode. |
static int |
SCANNER_SET_SOFTTRIGGER_FAILED
Constant to indicate that scanner soft trigger state could not be set. |
static int |
SCANNER_START_READ_FAILED
Constant to indicate that scanner read request failed. |
static int |
SCANNER_UNABLE_TO_ADD_SYMBOLOGY
Constant to indicate error while adding a symbology. |
static int |
SCANNER_UNABLE_TO_CONFIGURE
Constant to indicate invalid scanner configuration failure. |
static int |
SCANNER_UNABLE_TO_CONFIGURE_SYMBOLOGY
Constant to indicate invalid scanner failure while configuring a symbology. |
static int |
SCANNER_UNABLE_TO_REMOVE_SYMBOLOGY
Constant to indicate error while removing a symbology. |
static int |
SCANNER_UNKNOWN_ERROR
Constant to indicate a scanner unknown error. |
static int |
SCANNER_UNSUPPORTED_SYMBOLOGY
Constant to indicate an unsupported scanner symbology. |
Fields inherited from class com.sap.ip.me.api.pios.PIOSException |
ALREADY_CREATED, ALREADY_OPENED, CONFIGURATION_ERROR, GENERIC_ERROR, INVALID_OBJECT, INVALID_PARAMETER, INVALID_SYMBOLOGY, LIBRARY_NOT_LOADED, NOT_CREATED, NOT_OPENED, OUT_OF_MEMORY, SPECIFIC_PRINTER_ERROR, SPECIFIC_RFID_ERROR, SPECIFIC_SCANNER_ERROR, TIMEOUT, UNKNOWN_ERROR, UNSPECIFIED_ERROR, UNSUPPORTED |
Constructor Summary | |
ScannerException(int errorCode,
java.lang.String message)
Constructs a new ScannerException with the specified message. |
|
ScannerException(int errorCode,
java.lang.Throwable cause)
Constructs a new ScannerException with the specified error code and cause. |
|
ScannerException(java.lang.String message)
Constructs a new ScannerException with the specified message. |
|
ScannerException(java.lang.Throwable cause)
Constructs a new ScannerException based on the stack trace of the thrown exception. |
Methods inherited from class com.sap.ip.me.api.pios.PIOSException |
getErrorCode, getException |
Methods inherited from class com.sap.ip.me.api.services.MEException |
getNestedException, getReason, printStackTrace, printStackTrace, printStackTrace |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
public static final int SCANNER_OPEN_FAILED
public static final int SCANNER_CLOSE_FAILED
public static final int SCANNER_GET_SOFTTRIGGER_FAILED
public static final int SCANNER_SET_SOFTTRIGGER_FAILED
public static final int SCANNER_START_READ_FAILED
public static final int SCANNER_END_READ_FAILED
public static final int SCANNER_UNABLE_TO_CONFIGURE
public static final int SCANNER_UNABLE_TO_CONFIGURE_SYMBOLOGY
public static final int SCANNER_INVALID_CONFIGURATION_FILE
public static final int SCANNER_UNSUPPORTED_SYMBOLOGY
public static final int SCANNER_UNKNOWN_ERROR
public static final int SCANNER_NOT_IN_READ_MODE
public static final int SCANNER_IN_READ_MODE
public static final int SCANNER_UNABLE_TO_ADD_SYMBOLOGY
public static final int SCANNER_UNABLE_TO_REMOVE_SYMBOLOGY
public static final int SCANNER_OPERATION_NOT_AVAILABLE_IN_WEDGE_MODE
public static final int SCANNER_EVENT_LISTENER_NOT_SPECIFIED
Constructor Detail |
public ScannerException(java.lang.String message)
message
- the exception messagepublic ScannerException(int errorCode, java.lang.String message)
errorCode
- the error code numbermessage
- the exception messagepublic ScannerException(java.lang.Throwable cause)
cause
- the exception causePIOSException.getException(java.lang.Throwable)
public ScannerException(int errorCode, java.lang.Throwable cause)
errorCode
- the error code numbercause
- the exception cause
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |