|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.io.IOException
com.datecs.api.rfid.RFIDException
public class RFIDException
The exception that is thrown when an RC663 module error occurs.
| Field Summary | |
|---|---|
static int |
ERROR_FAILED
Command failed. |
static int |
ERROR_MIFARE_EACCESS
Mifare access error. |
static int |
ERROR_MIFARE_EAUTHENTICATION
Mifare authentication error. |
static int |
ERROR_MIFARE_EBASE
Mifare operation successful. |
static int |
ERROR_MIFARE_EBIT
Mifare bit count error. |
static int |
ERROR_MIFARE_ECODE
Mifare code error. |
static int |
ERROR_MIFARE_ECOLLISION
Mifare collision error. |
static int |
ERROR_MIFARE_ECRC
Mifare CRC error. |
static int |
ERROR_MIFARE_EEEPROM
Mifare EEPROM error. |
static int |
ERROR_MIFARE_EFIFO
Mifare FIFO overflow. |
static int |
ERROR_MIFARE_EFRAME
Mifare frame error. |
static int |
ERROR_MIFARE_EGENERIC
Mifare generic error. |
static int |
ERROR_MIFARE_EKEY
Mifare invalid key. |
static int |
ERROR_MIFARE_EPARITY
Mifare parity error. |
static int |
ERROR_MIFARE_ETIMEOUT
Mifare timeout error. |
static int |
ERROR_MIFARE_EVALUE
Mifare value error. |
static int |
ERROR_TIMEOUT
Timeout expired. |
| Constructor Summary | |
|---|---|
RFIDException(int errorCode)
Initializes a new instance of the RC663Exception class with its error code. |
|
| Method Summary | |
|---|---|
int |
getErrorCode()
Gets the error code that raise the exception. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public static final int ERROR_TIMEOUT
public static final int ERROR_FAILED
public static final int ERROR_MIFARE_EBASE
public static final int ERROR_MIFARE_ETIMEOUT
public static final int ERROR_MIFARE_ECOLLISION
public static final int ERROR_MIFARE_EPARITY
public static final int ERROR_MIFARE_EFRAME
public static final int ERROR_MIFARE_ECRC
public static final int ERROR_MIFARE_EFIFO
public static final int ERROR_MIFARE_EEEPROM
public static final int ERROR_MIFARE_EKEY
public static final int ERROR_MIFARE_EGENERIC
public static final int ERROR_MIFARE_EAUTHENTICATION
public static final int ERROR_MIFARE_ECODE
public static final int ERROR_MIFARE_EBIT
public static final int ERROR_MIFARE_EACCESS
public static final int ERROR_MIFARE_EVALUE
| Constructor Detail |
|---|
public RFIDException(int errorCode)
errorCode - The error code that raise the exception.| Method Detail |
|---|
public int getErrorCode()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||