| Modifier and Type | Field and Description |
|---|---|
| protected final int | errorCode
The error code associated to this exception. |
| public static final int | OSGI_EXISTING_ID
The error code used when another endpoint exists with the same ID. |
| public static final int | OSGI_MULTIPLE_HOSTS
The error code used when several hosts exist for this PAN ID target or HOST_PID target. |
| private static final long | |
| public static final int | TIMEOUT
The error code used when the timeout of ZigBee asynchronous exchange is reached. |
| public static final int | UNKNOWN_ERROR
This error code is used if the ZigBee error returned is not covered by this API specification. |
| protected final int | zigBeeErrorCode
The actual error code returned by the ZigBee node. |
| Access | Constructor and Description |
|---|---|
| public | ZigBeeException(String
exception error description. errorDesc)Creates a ZigBeeException containing only a description, but no error codes. |
| public | ZigBeeException(int
One of the error codes defined in this interface or
errorCode, String UNKNOWN_ERROR if the actual error is not listed in this
interface.An error description which explain the type of problem. errorDesc)Creates a ZigBeeException containing a specific
|
| public | ZigBeeException(int
One of the error codes defined in this interface or
errorCode, int UNKNOWN_ERROR the actual error is not covered in this
interface.The actual status code or zigBeeErrorCode, String UNKNOWN_ERROR
if this status is unknown.An error description which explain the type of problem. errorDesc)Creates a ZigBeeException containing a specific
|
| Modifier and Type | Method and Description |
|---|---|
| public int | |
| public int | Returns: One of the error codes defined above. If the returned error code isUNKNOWN_ERROR and the hasZigBeeErrorCode()
returns true then the getZigBeeErrorCode()
provides the actual ZigBee error code returned by the device.Returns the potential ZigBee error code. |
| public boolean | Returns: true if theZigBeeException convey also the actual error
code returned by the ZigBee stack.Checks if this exception has a ZigBee error code. |
| errorCode | back to summary |
|---|---|
| protected final int errorCode The error code associated to this exception.
| |
| OSGI_EXISTING_ID | back to summary |
|---|---|
| public static final int OSGI_EXISTING_ID The error code used when another endpoint exists with the same ID. | |
| OSGI_MULTIPLE_HOSTS | back to summary |
|---|---|
| public static final int OSGI_MULTIPLE_HOSTS The error code used when several hosts exist for this PAN ID target or HOST_PID target. | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| TIMEOUT | back to summary |
|---|---|
| public static final int TIMEOUT The error code used when the timeout of ZigBee asynchronous exchange is reached. | |
| UNKNOWN_ERROR | back to summary |
|---|---|
| public static final int UNKNOWN_ERROR This error code is used if the ZigBee error returned is not covered by this API specification. | |
| zigBeeErrorCode | back to summary |
|---|---|
| protected final int zigBeeErrorCode The actual error code returned by the ZigBee node.
| |
| ZigBeeException | back to summary |
|---|---|
| public ZigBeeException(String errorDesc) Creates a ZigBeeException containing only a description, but
no error codes. If issued on this exception the
| |
| ZigBeeException | back to summary |
|---|---|
| public ZigBeeException(int errorCode, String errorDesc) Creates a ZigBeeException containing a specific
| |
| ZigBeeException | back to summary |
|---|---|
| public ZigBeeException(int errorCode, int zigBeeErrorCode, String errorDesc) Creates a ZigBeeException containing a specific
| |
| getErrorCode | back to summary |
|---|---|
| public int getErrorCode() Returns the error code.
| |
| getZigBeeErrorCode | back to summary |
|---|---|
| public int getZigBeeErrorCode() Returns the potential ZigBee error code.
| |
| hasZigBeeErrorCode | back to summary |
|---|---|
| public boolean hasZigBeeErrorCode() Checks if this exception has a ZigBee error code.
| |