public class

RcsServiceNotRegisteredException

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

Class Overview

Rcs service not registered exception

Thrown when a method of the service API using the RCS service platform is called and the terminal which requires that the RcsCoreService is registered and connected to the IMS server is not registered to the RCS service platform (e.g. not yet registered)

Should not be thrown when a service API method is called that fully could perform its scope of responsibility without having to be connected to the IMS.

Summary

Public Constructors
RcsServiceNotRegisteredException(String message)
Constructor
RcsServiceNotRegisteredException(String message, Throwable cause)
Constructor
Public Methods
static void assertException(Exception e)
Asserts RcsServiceNotRegisteredException

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 RcsServiceNotRegisteredException (String message)

Since: API Level 1.5

Constructor

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

public RcsServiceNotRegisteredException (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 RcsServiceNotRegisteredException

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