public class ZCLException extends ZigBeeException
| Modifier and Type | Field and Description | 
|---|---|
| static int | CALIBRATION_ERRORZCL Calibration Error error code. | 
| static int | CLUSTER_COMMAND_NOT_SUPPORTEDZCL Cluster Command Not Supported error code. | 
| static int | DUPLICATE_EXISTSZCL Duplicate Exists error code. | 
| static int | FAILUREZCL Failure error code. | 
| static int | GENERAL_COMMAND_NOT_SUPPORTEDZCL General Command Not Supported error code. | 
| static int | HARDWARE_FAILUREHARDWARE_FAILURE - in this case, an additional exception describing the
 problem can be nested. | 
| static int | INSUFFICIENT_SPACEZCL Insufficient Space error code. | 
| static int | INVALID_DATA_TYPEZCL Invalid Data Type error code. | 
| static int | INVALID_FIELDZCL Invalid Field error code. | 
| static int | INVALID_VALUEZCL Invalid Value error code. | 
| static int | MALFORMED_COMMANDZCL Malformed Command error code. | 
| static int | MANUF_CLUSTER_COMMAND_NOT_SUPPORTEDZCL Manuf Cluster Command Not Supported error code. | 
| static int | MANUF_GENERAL_COMMAND_NOT_SUPPORTEDZCL Manuf General Command Not Supported error code. | 
| static int | NOT_FOUNDZCL Not Found error code. | 
| static int | READ_ONLYZCL Read Only error code. | 
| static int | SOFTWARE_FAILURESoftware Failure error code - in this case, an additional exception
 describing the problem can be nested. | 
| static int | SUCCESSZCL Success error code. | 
| static int | UNREPORTABLE_TYPEUnreportable Type error code. | 
| static int | UNSUPPORTED_ATTRIBUTEZCL Unsupported Attribute error code. | 
errorCode, OSGI_EXISTING_ID, OSGI_MULTIPLE_HOSTS, TIMEOUT, UNKNOWN_ERROR, zigBeeErrorCode| Constructor and Description | 
|---|
| ZCLException(int errorCode,
            int zigBeeErrorCode,
            String errorDesc) | 
| ZCLException(int errorCode,
            String errorDesc)Creates a ZCLException containing a specific
  errorCode. | 
| ZCLException(String errorDesc)Creates a ZCLException containing only a description, but no
 error codes. | 
getErrorCode, getZigBeeErrorCode, hasZigBeeErrorCodeaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static final int SUCCESS
public static final int FAILURE
public static final int MALFORMED_COMMAND
public static final int CLUSTER_COMMAND_NOT_SUPPORTED
public static final int GENERAL_COMMAND_NOT_SUPPORTED
public static final int MANUF_CLUSTER_COMMAND_NOT_SUPPORTED
public static final int MANUF_GENERAL_COMMAND_NOT_SUPPORTED
public static final int INVALID_FIELD
public static final int UNSUPPORTED_ATTRIBUTE
public static final int INVALID_VALUE
public static final int READ_ONLY
public static final int INSUFFICIENT_SPACE
public static final int DUPLICATE_EXISTS
public static final int NOT_FOUND
public static final int UNREPORTABLE_TYPE
public static final int INVALID_DATA_TYPE
public static final int HARDWARE_FAILURE
public static final int SOFTWARE_FAILURE
public static final int CALIBRATION_ERROR
public ZCLException(String errorDesc)
ZigBeeException.getErrorCode() and
 ZigBeeException.getZigBeeErrorCode() methods return the ZigBeeException.UNKNOWN_ERROR
 constant.errorDesc - exception error description.public ZCLException(int errorCode,
                    String errorDesc)
errorCode. Using this constructor with errorCode set to
 ZigBeeException.UNKNOWN_ERROR is equivalent to call
 ZCLException(String).errorCode - One of the error codes defined in this interface or
        ZigBeeException.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 ZCLException(int, int, String)
        constructor, passing ZigBeeException.UNKNOWN_ERROR as first parameter and
        the native ZigBee error as the second.errorDesc - An error description which explain the type of problem.public ZCLException(int errorCode,
                    int zigBeeErrorCode,
                    String errorDesc)
errorCode or zigBeeErrorCode. Using this constructor with
 both the errorCode and zigBeeErrorCode set to
 ZigBeeException.UNKNOWN_ERROR is equivalent to call
 ZCLException(String).errorCode - One of the error codes defined in this interface or
        ZigBeeException.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 - The actual ZCL status code or
        ZigBeeException.UNKNOWN_ERROR if this status is unknown.errorDesc - An error description which explain the type of problem.Copyright © Contributors to the Eclipse Foundation Licensed under the Eclipse Foundation Specification License – v1.0