Top Description Fields Constructors Methods
org.osgi.service.zigbee

public Class ZDPException

extends ZigBeeException
Class Inheritance

This class represents root exception for all the code related to ZDP.

See Table 2.137 ZDP Enumerations Description in ZIGBEE SPECIFICATION: 1_053474r17ZB_TSC-ZigBee-Specification.pdf.

Author
$Id: 4f15dbbcc7751f43e84cefc4e5a5c1c3e02dee99 $

Field Summary

Modifier and TypeField and Description
public static final int
DEVICE_NOT_FOUND

The requested device did not exist on a device following a child descriptor request to a parent.

public static final int
INSUFFICIENT_SPACE

The device does not have storage space to support the requested operation.

public static final int
INV_REQUESTTYPE

The supplied request type was invalid.

public static final int
INVALID_EP

The supplied endpoint was equal to 0x00 or between 0xf1 and 0xff.

public static final int
NO_DESCRIPTOR

A child descriptor was not available following a discovery request to a parent.

public static final int
NO_ENTRY

The unbind request was unsuccessful due to the coordinator or source device not having an entry in its binding table to unbind.

public static final int
NO_MATCH

The end device bind request was unsuccessful due to a failure to match any suitable clusters.

public static final int
NOT_ACTIVE

The requested endpoint is not described by a simple descriptor.

public static final int
NOT_AUTHORIZED

The permissions configuration table on the target indicates that the request is not authorized from this device.

public static final int
NOT_PERMITTED

The device is not in the proper state to support the requested operation.

public static final int
NOT_SUPPORTED

The requested optional feature is not supported on the target device.

private static final long
public static final int
SUCCESS

The requested operation or transmission was completed successfully.

public static final int
TABLE_FULL

The device does not have table space to support the operation.

public static final int
TIMEOUT

Hides org.osgi.service.zigbee.ZigBeeException.TIMEOUT.

A timeout has occurred with the requested operation.
Inherited from org.osgi.service.zigbee.ZigBeeException:
errorCodeOSGI_EXISTING_IDOSGI_MULTIPLE_HOSTSUNKNOWN_ERRORzigBeeErrorCode

Constructor Summary

AccessConstructor and Description
public
ZDPException(String
exception error description.
errorDesc
)

Creates a ZDPException containing only a description, but no error codes.

public
ZDPException(int
One of the error codes defined in this interface or UNKNOWN_ERROR if the actual error is not listed in this interface. In this case if the native ZigBee error code is known, it is preferred to use the ZDPException(int, int, String) constructor, passing UNKNOWN_ERROR as first parameter and the native ZigBee error as the second.
errorCode
,
String
An error description which explain the type of problem.
errorDesc
)

Creates a ZDPException containing a specific errorCode.

public
ZDPException(int
One of the error codes defined in this interface or UNKNOWN_ERROR the actual error is not covered in this interface. In this case the zigBeeErrorCode parameter must be the actual status code returned by the ZigBee stack.
errorCode
,
int
The actual ZDP status code or UNKNOWN_ERROR if this status is unknown.
zigBeeErrorCode
,
String
An error description which explain the type of problem.
errorDesc
)

Creates a ZDPException containing a specific errorCode or zigBeeErrorCode.

Method Summary

Inherited from org.osgi.service.zigbee.ZigBeeException:
getErrorCodegetZigBeeErrorCodehasZigBeeErrorCode

Field Detail

DEVICE_NOT_FOUNDback to summary
public static final int DEVICE_NOT_FOUND

The requested device did not exist on a device following a child descriptor request to a parent.

INSUFFICIENT_SPACEback to summary
public static final int INSUFFICIENT_SPACE

The device does not have storage space to support the requested operation.

INV_REQUESTTYPEback to summary
public static final int INV_REQUESTTYPE

The supplied request type was invalid.

INVALID_EPback to summary
public static final int INVALID_EP

The supplied endpoint was equal to 0x00 or between 0xf1 and 0xff.

NO_DESCRIPTORback to summary
public static final int NO_DESCRIPTOR

A child descriptor was not available following a discovery request to a parent.

NO_ENTRYback to summary
public static final int NO_ENTRY

The unbind request was unsuccessful due to the coordinator or source device not having an entry in its binding table to unbind.

NO_MATCHback to summary
public static final int NO_MATCH

The end device bind request was unsuccessful due to a failure to match any suitable clusters.

NOT_ACTIVEback to summary
public static final int NOT_ACTIVE

The requested endpoint is not described by a simple descriptor.

NOT_AUTHORIZEDback to summary
public static final int NOT_AUTHORIZED

The permissions configuration table on the target indicates that the request is not authorized from this device.

NOT_PERMITTEDback to summary
public static final int NOT_PERMITTED

The device is not in the proper state to support the requested operation.

NOT_SUPPORTEDback to summary
public static final int NOT_SUPPORTED

The requested optional feature is not supported on the target device.

serialVersionUIDback to summary
private static final long serialVersionUID

Hides org.osgi.service.zigbee.ZigBeeException.serialVersionUID.

SUCCESSback to summary
public static final int SUCCESS

The requested operation or transmission was completed successfully.

TABLE_FULLback to summary
public static final int TABLE_FULL

The device does not have table space to support the operation.

TIMEOUTback to summary
public static final int TIMEOUT

Hides org.osgi.service.zigbee.ZigBeeException.TIMEOUT.

A timeout has occurred with the requested operation.

Annotations
@SuppressWarnings:hiding

Constructor Detail

ZDPExceptionback to summary
public ZDPException(String errorDesc)

Creates a ZDPException containing only a description, but no error codes. If issued on this exception the getErrorCode() and getZigBeeErrorCode() methods return the UNKNOWN_ERROR constant.

Parameters
errorDesc:String

exception error description.

ZDPExceptionback to summary
public ZDPException(int errorCode, String errorDesc)

Creates a ZDPException containing a specific errorCode. Using this constructor with errorCode set to UNKNOWN_ERROR is equivalent to call ZDPException(String).

Parameters
errorCode:int

One of the error codes defined in this interface or UNKNOWN_ERROR if the actual error is not listed in this interface. In this case if the native ZigBee error code is known, it is preferred to use the ZDPException(int, int, String) constructor, passing UNKNOWN_ERROR as first parameter and the native ZigBee error as the second.

errorDesc:String

An error description which explain the type of problem.

ZDPExceptionback to summary
public ZDPException(int errorCode, int zigBeeErrorCode, String errorDesc)

Creates a ZDPException containing a specific errorCode or zigBeeErrorCode. Using this constructor with both the errorCode and zigBeeErrorCode set to UNKNOWN_ERROR is equivalent to call ZDPException(String).

Parameters
errorCode:int

One of the error codes defined in this interface or UNKNOWN_ERROR the actual error is not covered in this interface. In this case the zigBeeErrorCode parameter must be the actual status code returned by the ZigBee stack.

zigBeeErrorCode:int

The actual ZDP status code or UNKNOWN_ERROR if this status is unknown.

errorDesc:String

An error description which explain the type of problem.