java.lang.Object | ||||
↳ | java.lang.Throwable | |||
↳ | java.lang.Exception | |||
↳ | com.gsma.services.rcs.RcsServiceException | |||
↳ | com.gsma.services.rcs.RcsMaxAllowedSessionLimitReachedException |
Rcs Max Allowed Session Limit Reached Exception.
Thrown if the SERVICE TYPE (message/filetransfer/imageshare/geolocationshare etc) cannot be sent/transfered/resent or a new groupchat invitation cannot be sent right now since the limit of allowed ongoing sessions has already been reached and the client needs to wait for at least one session to be released back to the stack first.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
RcsMaxAllowedSessionLimitReachedException(String message)
Constructor
| |||||||||||
RcsMaxAllowedSessionLimitReachedException(String message, Throwable cause)
Constructor
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
static void |
assertException(Exception e)
Asserts
RcsMaxAllowedSessionLimitReachedException
An utility method that will translate the Server side exception to client specific exception by parsing exception message which will have a special formatted exception message with a pre-defined delimiter. |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
com.gsma.services.rcs.RcsServiceException
| |||||||||||
From class
java.lang.Throwable
| |||||||||||
From class
java.lang.Object
|
Constructor
message | Error message obtained either from a constant string or through e.getMessage() |
---|
Constructor
message | Error message obtained either from a constant string or through e.getMessage() |
---|---|
cause | the cause (which is saved for later retrieval by the Throwable.getCause() method). (A null value is permitted, and indicates that the cause is nonexistent or unknown.) |
Asserts RcsMaxAllowedSessionLimitReachedException
An utility method that will translate the Server side exception to client specific exception by parsing exception message which will have a special formatted exception message with a pre-defined delimiter.
e | Exception |
---|