Class RFIDReaderException

  • All Implemented Interfaces:
    Serializable

    public class RFIDReaderException
    extends Exception
    The Exception Class for the metraTec RFID readers
    Author:
    Matthias Neumann (neumann@metratec.com)
    See Also:
    Serialized Form
    • Constructor Detail

      • RFIDReaderException

        public RFIDReaderException()
        Constructs a new RFID reader exception.
        See Also:
        Exception
      • RFIDReaderException

        public RFIDReaderException​(String s)
        Constructs a new RFID reader exception with the specified detail message.
        Parameters:
        s - the detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.
        See Also:
        Exception(String message)
      • RFIDReaderException

        public RFIDReaderException​(int errorcode)
        Constructs a new RFID reader exception with the specified error code.
        Parameters:
        errorcode - the error code. The detail message is saved for later retrieval by the getErrorCode() method.
      • RFIDReaderException

        public RFIDReaderException​(int errorcode,
                                   String s)
        Constructs a new RFID reader exception with the specified detail message and error code.
        Parameters:
        errorcode - the error code. The detail message is saved for later retrieval by the getErrorCode() method.
        s - the detail message. The detail message is saved for later retrieval by the Throwable.getMessage() method.
    • Method Detail

      • getErrorCode

        public int getErrorCode()
        Returns:
        the error code ('0' if not initialize).