|
jamod at SF | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception net.wimpi.modbus.ModbusException net.wimpi.modbus.ModbusSlaveException
Class that implements a ModbusSlaveException. Instances of this exception are thrown when the slave returns a Modbus exception.
Constructor Summary | |
ModbusSlaveException(int TYPE)
Constructs a new ModbusSlaveException instance with the given type. |
Method Summary | |
java.lang.String |
getMessage()
|
int |
getType()
Returns the type of this ModbusSlaveException. |
boolean |
isType(int TYPE)
Tests if this ModbusSlaveException is of a given type. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ModbusSlaveException(int TYPE)
TYPE
- the type of exception that occured.Modbus
Method Detail |
public int getType()
Modbus
public boolean isType(int TYPE)
TYPE
- the type to test this
ModbusSlaveException type against.
Modbus
public java.lang.String getMessage()
|
jamod at SF | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |