public class

RcsIllegalArgumentException

extends IllegalArgumentException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ java.lang.IllegalArgumentException
           ↳ com.gsma.services.rcs.RcsIllegalArgumentException

Class Overview

Rcs Illegal Argument Exception.

Thrown when a method of the service API is called with one or multiple illegal input parameter. Such as a calling a method and passing null as a parameter in the case that null is not valid for that parameter.

Summary

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

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

Public Constructors

public RcsIllegalArgumentException (String message)

Since: API Level 1.5

Constructor

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

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

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