Class ModbusUnexpectedTransactionIdException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.openhab.core.io.transport.modbus.exception.ModbusTransportException
org.openhab.core.io.transport.modbus.exception.ModbusUnexpectedTransactionIdException
All Implemented Interfaces:
Serializable

@NonNullByDefault public class ModbusUnexpectedTransactionIdException extends ModbusTransportException
Exception representing situation where transaction id of the response does not match request
Author:
Sami Salonen - Initial contribution
See Also:
  • Constructor Details

    • ModbusUnexpectedTransactionIdException

      public ModbusUnexpectedTransactionIdException(int requestId, int responseId)
  • Method Details

    • getMessage

      public @Nullable String getMessage()
      Overrides:
      getMessage in class Throwable
    • toString

      public String toString()
      Overrides:
      toString in class Throwable
    • getRequestId

      public int getRequestId()
    • getResponseId

      public int getResponseId()