public class

RcsMaxAllowedSessionLimitReachedException

extends RcsServiceException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ com.gsma.services.rcs.RcsServiceException
         ↳ com.gsma.services.rcs.RcsMaxAllowedSessionLimitReachedException

Class Overview

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.

Summary

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

Public Constructors

public RcsMaxAllowedSessionLimitReachedException (String message)

Since: API Level 1.5

Constructor

Parameters
message Error message obtained either from a constant string or through e.getMessage()

public RcsMaxAllowedSessionLimitReachedException (String message, Throwable cause)

Since: API Level 1.5

Constructor

Parameters
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.)

Public Methods

public static void assertException (Exception e)

Since: API Level 1.5

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.

Parameters
e Exception