|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
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.ModbusIOException
public class ModbusIOException
Class that implements a ModbusIOException. Instances of this exception are thrown when errors in the I/O occur.
Constructor Summary | |
---|---|
ModbusIOException()
Constructs a new ModbusIOException instance. |
|
ModbusIOException(boolean b)
Constructs a new ModbusIOException instance. |
|
ModbusIOException(String message)
Constructs a new ModbusIOException instance with the given message. |
|
ModbusIOException(String message,
boolean b)
Constructs a new ModbusIOException instance with the given message. |
Method Summary | |
---|---|
boolean |
isEOF()
Tests if this ModbusIOException is caused by an end of the stream. |
void |
setEOF(boolean b)
Sets the flag that determines whether this ModbusIOException was caused by an end of the stream. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ModbusIOException()
public ModbusIOException(String message)
message
- the message describing this
ModbusIOException.public ModbusIOException(boolean b)
b
- true if caused by end of stream, false otherwise.public ModbusIOException(String message, boolean b)
message
- the message describing this
ModbusIOException.b
- true if caused by end of stream, false otherwise.Method Detail |
---|
public boolean isEOF()
public void setEOF(boolean b)
b
- true if stream ended, false otherwise.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |