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 Summary
-
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
ModbusUnexpectedTransactionIdException
public ModbusUnexpectedTransactionIdException(int requestId, int responseId)
-
-
Method Details
-
getMessage
- Overrides:
getMessage
in classThrowable
-
toString
-
getRequestId
public int getRequestId() -
getResponseId
public int getResponseId()
-