Platform SDK Java 8.5 API Reference

com.genesyslab.platform.configuration.protocol.exceptions
Class SessionRejectedException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by com.genesyslab.platform.commons.PlatformException
              extended by com.genesyslab.platform.commons.protocol.ProtocolException
                  extended by com.genesyslab.platform.commons.protocol.RegistrationException
                      extended by com.genesyslab.platform.configuration.protocol.exceptions.SessionRejectedException
All Implemented Interfaces:
java.io.Serializable

public class SessionRejectedException
extends RegistrationException

This exception may be thrown when EventError2 (MSG_DISCONNECTED) is arrived from server.

It means that connection can't be reopened for now. See error code for details.

See Also:
CfgErrorType, SessionDisconnectedException, Serialized Form

Constructor Summary
SessionRejectedException(java.lang.String errMessage, EventError2 errEvt)
           
 
Method Summary
 java.lang.Integer getErrorCode()
          Returns value of the Error Code reported by server in EventError2.
 CfgErrorType getErrorType()
          Returns CfgErrorType value of the Error Code reported by server in EventError2.
 EventError2 getMsgDisconnectEvent()
          Returns original EventError2 (MSG_DISCONNECTED) event.
 
Methods inherited from class com.genesyslab.platform.commons.protocol.RegistrationException
getResponseMessage
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SessionRejectedException

public SessionRejectedException(java.lang.String errMessage,
                                EventError2 errEvt)
Method Detail

getMsgDisconnectEvent

public EventError2 getMsgDisconnectEvent()
Returns original EventError2 (MSG_DISCONNECTED) event.

Returns:
the disconnect event from server.

getErrorCode

public java.lang.Integer getErrorCode()
Returns value of the Error Code reported by server in EventError2.

Returns:
the error code from server.

getErrorType

public CfgErrorType getErrorType()
Returns CfgErrorType value of the Error Code reported by server in EventError2.

Returns:
the error code from server.

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.