Class GenDriverModbusException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.smartgridready.driver.api.modbus.GenDriverModbusException
-
- All Implemented Interfaces:
java.io.Serializable
public class GenDriverModbusException extends java.lang.ExceptionImplements a Modbus interface driver exception. Contains Modbus exception code.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description GenDriverModbusException(java.lang.String aMessage)Construct with message.GenDriverModbusException(java.lang.String aMessage, int exceptionCode)Construct with message.GenDriverModbusException(java.lang.String aMessage, java.lang.Throwable aCause)Construct with message and inner exception.GenDriverModbusException(java.lang.String aMessage, java.lang.Throwable aCause, int exceptionCode)Construct with message and inner exception.GenDriverModbusException(java.lang.Throwable aCause)Construct with inner exception.GenDriverModbusException(java.lang.Throwable aCause, int exceptionCode)Construct with inner exception.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetExceptionCode()Gets the numeric exception code.
-
-
-
Constructor Detail
-
GenDriverModbusException
public GenDriverModbusException(java.lang.String aMessage, java.lang.Throwable aCause, int exceptionCode)Construct with message and inner exception.- Parameters:
aMessage- the error messageaCause- the inner exceptionexceptionCode- the numeric exception code
-
GenDriverModbusException
public GenDriverModbusException(java.lang.String aMessage, java.lang.Throwable aCause)Construct with message and inner exception.- Parameters:
aMessage- the error messageaCause- the inner exception
-
GenDriverModbusException
public GenDriverModbusException(java.lang.String aMessage, int exceptionCode)Construct with message.- Parameters:
aMessage- the error messageexceptionCode- the numeric exception code
-
GenDriverModbusException
public GenDriverModbusException(java.lang.String aMessage)
Construct with message.- Parameters:
aMessage- the error message
-
GenDriverModbusException
public GenDriverModbusException(java.lang.Throwable aCause, int exceptionCode)Construct with inner exception.- Parameters:
aCause- the inner exceptionexceptionCode- the numeric exception code
-
GenDriverModbusException
public GenDriverModbusException(java.lang.Throwable aCause)
Construct with inner exception.- Parameters:
aCause- the inner exception
-
-