com.genesyslab.platform.configuration.protocol.exceptions
Class SessionRejectedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.genesyslab.platform.commons.PlatformException
com.genesyslab.platform.commons.protocol.ProtocolException
com.genesyslab.platform.commons.protocol.RegistrationException
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
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 |
SessionRejectedException
public SessionRejectedException(java.lang.String errMessage,
EventError2 errEvt)
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.