Platform SDK Java 8.5 API Reference

com.genesyslab.platform.configuration.protocol.utilities
Class CfgErrorCode

java.lang.Object
  extended by com.genesyslab.platform.configuration.protocol.utilities.CfgErrorCode

public final class CfgErrorCode
extends java.lang.Object

Represents unpacked information from Configuration Server error code.
Usage sample:

 void handleCfgSrvError(final EventError evError) {
     CfgErrorCode errorCode = CfgUtilities.getErrorCode(evError.getErrorCode());
     if (errorCode.getErrorType() == CfgErrorType.CFGObjectNotFound) {
         ...
     }
 }

See Also:
EventError.getErrorCode(), CfgUtilities.getErrorCode(int)

Method Summary
 CfgErrorType getErrorType()
           
 CfgObjectProperty getObjectProperty()
           
 CfgObjectType getObjectType()
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

getErrorType

public CfgErrorType getErrorType()

getObjectType

public CfgObjectType getObjectType()

getObjectProperty

public CfgObjectProperty getObjectProperty()

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

Platform SDK Java 8.5 API Reference

Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 8.5.302.00
Copyright © 2006–2017 Genesys Telecommunications Laboratories, Inc. All rights reserved.