Class ModbusUnexpectedResponseFunctionCodeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.openhab.core.io.transport.modbus.exception.ModbusTransportException
org.openhab.core.io.transport.modbus.exception.ModbusUnexpectedResponseFunctionCodeException
- All Implemented Interfaces:
Serializable
@NonNullByDefault
public class ModbusUnexpectedResponseFunctionCodeException
extends ModbusTransportException
Exception representing situation where function code of the response does not match request
- Author:
- Sami Salonen - Initial contribution
- See Also:
-
Constructor Summary
ConstructorDescriptionModbusUnexpectedResponseFunctionCodeException
(int requestFunctionCode, int responseFunctionCode) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
ModbusUnexpectedResponseFunctionCodeException
public ModbusUnexpectedResponseFunctionCodeException(int requestFunctionCode, int responseFunctionCode)
-
-
Method Details
-
getMessage
- Overrides:
getMessage
in classThrowable
-
toString
-