Class ModbusConnectionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.openhab.core.io.transport.modbus.exception.ModbusTransportException
org.openhab.core.io.transport.modbus.exception.ModbusConnectionException
- All Implemented Interfaces:
Serializable
Exception for connection issues
- Author:
- Sami Salonen - Initial contribution
- See Also:
-
Constructor Summary
-
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
ModbusConnectionException
- Parameters:
endpoint
- endpoint associated with this exception
-
-
Method Details
-
getEndpoint
Get endpoint associated with this connection error- Returns:
- endpoint with the error
-
getMessage
- Overrides:
getMessage
in classThrowable
-
toString
-