Platform SDK Java 8.5 API Reference

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

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.configuration.protocol.exceptions.SessionDisconnectedException
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
HistoryLogExpiredException

public class SessionDisconnectedException
extends ProtocolException

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

It means that connection should be reopened one more time as a new session (without session restoration).

See Also:
CfgErrorType, SessionRejectedException, Serialized Form

Constructor Summary
SessionDisconnectedException(java.lang.String errMessage, EventError2 errEvent)
           
 
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 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

SessionDisconnectedException

public SessionDisconnectedException(java.lang.String errMessage,
                                    EventError2 errEvent)
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.