| java.lang.Object | ||||
| ↳ | java.lang.Throwable | |||
| ↳ | java.lang.Exception | |||
| ↳ | com.gsma.services.rcs.RcsServiceException | |||
| ↳ | com.gsma.services.rcs.RcsPermissionDeniedException | |||
RCS permission denied exception
Thrown when a method of the service API is called that not allowed right now. This can be for multiple reasons like it is not possible to call accept() on a file transfer invitation that has previously already been rejected, the file trying to be sent is not allowed to be read back due to security aspects or any other operation that fails because the operation is not allowed or has been blocked for some other reason.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| RcsPermissionDeniedException(String message) Constructor | |||||||||||
| RcsPermissionDeniedException(String message, Throwable cause) Constructor | |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| static void | assertException(Exception e) Asserts  RcsPermissionDeniedExceptionAn 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 RcsPermissionDeniedException
 
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 | 
|---|
| RcsPermissionDeniedException | 
|---|