IBM WebSphere Multichannel Bank Transformation Toolkit, Version 7.1

Check Reader Device Service exception and error codes

The Check Reader Device service throws the DSECheckReaderException when an error occurs while opening the communications port or communicating with the reader device. The exception's code field is filled with the error code and the message field is filled with the reason.

The following table shows the meaning of the possible error codes (these codes are defined in AmperReaderConst public interface):

Table 1. Check Reader Device error codes
Error code Reasons/Actions
0 Incorrect externalized data
1 Timeout
2 Bad characters from device
3 Device not armed
4 Device not connected
5 Operation not completed
6 Device malfunction
7 Operation Cancelled
8 Port does not exist
9 Port is already in use
10 Input stream creation error
11 Output stream creation error
12 Too many serial port listeners
13 Bad open parameters


Feedback