public class ModbusIOException extends ModbusException
| Constructor and Description |
|---|
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.
|
ModbusIOException(String message,
Object... values)
Constructs a new ModbusIOException instance with the given
message.
|
ModbusIOException(String message,
Throwable cause)
Constructs a new ModbusIOException instance with the given
message and underlying cause.
|
| Modifier and Type | Method and Description |
|---|---|
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.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ModbusIOException()
public ModbusIOException(String message)
message - the message describing this ModbusIOException.public ModbusIOException(String message, Object... values)
message - the message describing this ModbusIOException.values - optional values of the exceptionpublic 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.public ModbusIOException(String message, Throwable cause)
message - the message describing this ModbusIOException.cause - the cause (which is saved for later retrieval by the getCause() method).
(A null value is permitted, and indicates that the cause is nonexistent or unknown.)public boolean isEOF()
public void setEOF(boolean b)
b - true if stream ended, false otherwise.Copyright © 2025. All Rights Reserved.