public final class CfgErrorCode
extends java.lang.Object
void handleCfgSrvError(final EventError evError) { CfgErrorCode errorCode = CfgUtilities.getErrorCode(evError.getErrorCode()); if (errorCode.getErrorType() == CfgErrorType.CFGObjectNotFound) { ... } }
EventError.getErrorCode()
,
getErrorCode(int)
Modifier and Type | Method | Description |
---|---|---|
static CfgErrorCode |
getErrorCode(int errorCode) |
Unpacks configuration server error code.
Usage sample: |
CfgErrorType |
getErrorType() |
|
static CfgErrorType |
getErrorType(int errorCode) |
|
CfgObjectProperty |
getObjectProperty() |
|
CfgObjectType |
getObjectType() |
|
java.lang.String |
toString() |
public static CfgErrorCode getErrorCode(int errorCode)
void handleCfgSrvError(final EventError evError) { CfgErrorCode errorCode = CfgErrorCode.getErrorCode(evError.getErrorCode()); if (errorCode.getErrorType() == CfgErrorType.CFGObjectNotFound) { ... } }
errorCode
- error code from configuration server error eventEventError.getErrorCode()
public static CfgErrorType getErrorType(int errorCode)
public CfgErrorType getErrorType()
public CfgObjectType getObjectType()
public CfgObjectProperty getObjectProperty()
public java.lang.String toString()
toString
in class java.lang.Object
Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 9.0.006.00
Copyright © 2006–2019 Genesys Telecommunications Laboratories, Inc. All rights reserved.