public class EnOceanException extends Exception
Modifier and Type | Field and Description |
---|---|
static short |
ESP_RET_NOT_SUPPORTED
Operation is not supported by the target device.
|
static short |
ESP_RET_OPERATION_DENIED
The operation was denied.
|
static short |
ESP_RET_WRONG_PARAM
One of the parameters was badly specified or missing.
|
static short |
ESP_UNEXPECTED_FAILURE
Unexpected failure.
|
static short |
INVALID_TELEGRAM
The message was invalid.
|
static short |
SUCCESS
SUCCESS status code.
|
Constructor and Description |
---|
EnOceanException(int errorCode)
Constructor for EnOceanException
|
EnOceanException(int errorCode,
String errorDesc)
Constructor for EnOceanException
|
EnOceanException(String errordesc)
Constructor for EnOceanException
|
Modifier and Type | Method and Description |
---|---|
int |
errorCode()
Constructor for EnOceanException
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public static final short SUCCESS
public static final short ESP_UNEXPECTED_FAILURE
public static final short ESP_RET_NOT_SUPPORTED
public static final short ESP_RET_WRONG_PARAM
public static final short ESP_RET_OPERATION_DENIED
public static final short INVALID_TELEGRAM
public EnOceanException(String errordesc)
errordesc
- exception error descriptionpublic EnOceanException(int errorCode, String errorDesc)
errorCode
- the error code.errorDesc
- the description.public EnOceanException(int errorCode)
errorCode
- An error code.Copyright © Contributors to the Eclipse Foundation Licensed under the Eclipse Foundation Specification License – v1.0