java.lang.Object | ||||
↳ | java.lang.Throwable | |||
↳ | java.lang.Exception | |||
↳ | com.gsma.services.rcs.RcsServiceException | |||
↳ | com.gsma.services.rcs.RcsServiceNotRegisteredException |
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.
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
|
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 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.
e | Exception |
---|