Platform SDK Java 8.5 API Reference

com.genesyslab.platform.applicationblocks.com
Class ConfigServerException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.genesyslab.platform.applicationblocks.com.ConfigException
              extended by com.genesyslab.platform.applicationblocks.com.ConfigServerException
All Implemented Interfaces:
java.io.Serializable

public class ConfigServerException
extends ConfigException
implements java.io.Serializable

Exception class used to show configuration server error detail.

See Also:
Serialized Form

Constructor Summary
  ConfigServerException(CfgErrorType errType, CfgObjectType objType, CfgObjectProperty objProperty, java.lang.String message)
          Creates the exception class.
  ConfigServerException(java.lang.String message)
          Creates the exception class.
protected ConfigServerException(java.lang.String message, java.lang.Exception innerException)
          Creates the exception class.
 
Method Summary
 CfgErrorType getErrorType()
          The type of error that has occurred.
 CfgObjectProperty getObjectProperty()
          The property of the configuration object which has caused the error.
 CfgObjectType getObjectType()
          The type of configuration object this error applies to.
 java.lang.String toString()
          Returns a short description of this exception.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConfigServerException

public ConfigServerException(CfgErrorType errType,
                             CfgObjectType objType,
                             CfgObjectProperty objProperty,
                             java.lang.String message)
Creates the exception class.

Parameters:
errType - the type of error that has occurred
objType - the type of configuration object this error applies to
objProperty - the property of the configuration object which has caused the error
message - exception message

ConfigServerException

public ConfigServerException(java.lang.String message)
Creates the exception class.

Parameters:
message - Exception Message

ConfigServerException

protected ConfigServerException(java.lang.String message,
                                java.lang.Exception innerException)
Creates the exception class.

Parameters:
innerException - the inner exception
message - exception message
Method Detail

getErrorType

public final CfgErrorType getErrorType()
The type of error that has occurred.

Returns:
error type

getObjectType

public final CfgObjectType getObjectType()
The type of configuration object this error applies to.

Returns:
object type

getObjectProperty

public final CfgObjectProperty getObjectProperty()
The property of the configuration object which has caused the error.

Returns:
property identifier

toString

public java.lang.String toString()
Returns a short description of this exception.

Overrides:
toString in class java.lang.Throwable
Returns:
a string representation of this exception.

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.