com.genesyslab.platform.configuration.protocol.exceptions
Class SessionDisconnectedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.genesyslab.platform.commons.PlatformException
com.genesyslab.platform.commons.protocol.ProtocolException
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
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 |
SessionDisconnectedException
public SessionDisconnectedException(java.lang.String errMessage,
EventError2 errEvent)
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.
Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 8.5.302.00
Copyright © 2006–2017 Genesys Telecommunications Laboratories, Inc. All rights reserved.