public final class UserModbusError extends Object implements ModbusError
| Constructor and Description |
|---|
UserModbusError(byte code)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
byte |
getCode()
Get the error code value.
|
int |
hashCode() |
String |
toString() |
clone, finalize, getClass, notify, notifyAll, wait, wait, waiterrorCodepublic UserModbusError(byte code)
code - the error codepublic int hashCode()
hashCode in interface ModbusErrorhashCode in class Objectpublic boolean equals(Object obj)
equals in interface ModbusErrorequals in class Objectpublic byte getCode()
ModbusErrorgetCode in interface ModbusError