Package sk.ipesoft.d2000.d2japi
Class ConnectSessionException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- sk.ipesoft.d2000.d2japi.ConnectSessionException
-
public class ConnectSessionException extends java.lang.Exception
Exception thrown by createSession call when connection is refused. It contains error reason in getError or in getAcceptanceError, never in both.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ConnectSessionException()
ConnectSessionException(ConnectionAcceptanceError acceptanceError, RedundancyStateType redundancyState, java.lang.String message)
ConnectSessionException(D2JapiErrorCode error, RedundancyStateType redundancyState, java.lang.String message)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ConnectionAcceptanceError
getAcceptanceError()
D2JapiErrorCode
getError()
GetRedundancyStateType
getRedundancyState()
-
-
-
Constructor Detail
-
ConnectSessionException
public ConnectSessionException()
-
ConnectSessionException
public ConnectSessionException(D2JapiErrorCode error, RedundancyStateType redundancyState, java.lang.String message)
-
ConnectSessionException
public ConnectSessionException(ConnectionAcceptanceError acceptanceError, RedundancyStateType redundancyState, java.lang.String message)
-
-
Method Detail
-
getAcceptanceError
public ConnectionAcceptanceError getAcceptanceError()
-
getError
public D2JapiErrorCode getError()
Get- Returns:
-
getRedundancyState
public RedundancyStateType getRedundancyState()
-
-