public class ModbusException extends Exception
| Constructor and Description |
|---|
ModbusException()
Constructs a new ModbusException instance.
|
ModbusException(String message)
Constructs a new ModbusException instance with the given
message.
|
ModbusException(String message,
Object... values)
Constructs a new ModbusException instance with the given
message.
|
ModbusException(String message,
Throwable cause)
Constructs a new ModbusException instance with the given
message and underlying cause.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ModbusException()
public ModbusException(String message)
message - the message describing this ModbusException.public ModbusException(String message, Object... values)
message - the message describing this ModbusException.values - optional values of the exceptionpublic ModbusException(String message, Throwable cause)
message - the message describing this ModbusException.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.)Copyright © 2025. All Rights Reserved.