类 IllegalFunctionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.huangjian.modbus4j.exception.ModbusTransportException
com.huangjian.modbus4j.exception.IllegalFunctionException
- 所有已实现的接口:
Serializable
IllegalFunctionException class.
- 另请参阅:
-
构造器概要
构造器构造器说明IllegalFunctionException(byte functionCode, int slaveId) Constructor for IllegalFunctionException. -
方法概要
从类继承的方法 com.huangjian.modbus4j.exception.ModbusTransportException
getSlaveId
-
构造器详细资料
-
IllegalFunctionException
public IllegalFunctionException(byte functionCode, int slaveId) Constructor for IllegalFunctionException.
- 参数:
functionCode- a byte.slaveId- a int.
-
-
方法详细资料
-
getFunctionCode
public byte getFunctionCode()Getter for the field
functionCode.- 返回:
- a byte.
-