| java.lang.Object | |||||
| ↳ | java.lang.Throwable | ||||
| ↳ | java.lang.Exception | ||||
| ↳ | java.lang.RuntimeException | ||||
| ↳ | java.lang.UnsupportedOperationException | ||||
| ↳ | com.gsma.services.rcs.RcsUnsupportedOperationException | ||||
Rcs unsupported operation exception.
Thrown when a method of the service API is called that is not supported (ie does not make sense within the scope of the use case) like trying to call pauseTransfer() on a non pausable file transfer that does not support that etc.
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
RcsUnsupportedOperationException(String message)
Constructor
| |||||||||||
|
RcsUnsupportedOperationException(String message, Throwable cause)
Constructor
| |||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| static void |
assertException(Exception e)
Asserts
RcsUnsupportedOperationException
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
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 RcsUnsupportedOperationException
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 |
|---|