public class ModbusSlaveException extends ModbusException
| Constructor and Description |
|---|
ModbusSlaveException(int TYPE)
Constructs a new ModbusSlaveException instance with the given
type.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getMessage() |
int |
getType()
Returns the type of this ModbusSlaveException.
|
boolean |
isType(int TYPE)
Tests if this ModbusSlaveException is of a given type.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ModbusSlaveException(int TYPE)
TYPE - the type of exception that occured.Modbuspublic int getType()
Modbuspublic boolean isType(int TYPE)
TYPE - the type to test this ModbusSlaveException type against.Modbuspublic String getMessage()
getMessage in class ThrowableCopyright © 2017. All rights reserved.