Class ModbusUnexpectedResponseSizeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.openhab.core.io.transport.modbus.exception.ModbusTransportException
org.openhab.core.io.transport.modbus.exception.ModbusUnexpectedResponseSizeException
- All Implemented Interfaces:
Serializable
@NonNullByDefault
public class ModbusUnexpectedResponseSizeException
extends ModbusTransportException
Exception representing situation where data length 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
-
ModbusUnexpectedResponseSizeException
public ModbusUnexpectedResponseSizeException(int requestSize, int responseSize)
-
-
Method Details
-
getMessage
- Overrides:
getMessage
in classThrowable
-
toString
-