public rfidError(rfidErrorCode errorCode) { ErrorCode = errorCode; }
public rfidInvalidPacketException(rfidErrorCode errorCode, byte[] packetData, int offset) : base(errorCode, String.Format("Bad Packet: '{0}'.", BitConverter.ToString(packetData, offset))) { }
public rfidInvalidPacketException(rfidErrorCode errorCode, string Message) : base(errorCode, Message) { }
public rfidException(rfidErrorCode err) : base() { _errorCode = new rfidError(err); }
public rfidException(rfidErrorCode err, String message) : base(message) { _errorCode = new rfidError(err); }