| java.lang.Object | ||||
| ↳ | java.lang.Throwable | |||
| ↳ | java.lang.Exception | |||
| ↳ | com.gsma.services.rcs.RcsServiceException | |||
| ↳ | com.gsma.services.rcs.RcsPersistentStorageException | |||
Rcs Persistent Storage Exception
Thrown when a method of the service API is called to persist data or read back persisted data failed. This can be because the underlying persistent storage database (or possibly further on a CPM cloud) reported an error such as no more entries can be added perhaps because disk is full, or just that a SQL operation failed or even a unsuccessful read operation from persistent storage.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
RcsPersistentStorageException(String message)
Constructor
| |||||||||||
|
RcsPersistentStorageException(String message, Throwable cause)
Constructor
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| static void |
assertException(Exception e)
Asserts
RcsPersistentStorageException
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 RcsPersistentStorageException
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 |
|---|