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, toStringpublic 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 © OSGi Alliance (2000, 2015). All Rights Reserved. Licensed under the OSGi Specification License, Version 2.0