Class ImsProfileException

    • Constructor Detail

      • ImsProfileException

        public ImsProfileException​(String message)
      • ImsProfileException

        public ImsProfileException​(String message,
                                   Throwable cause)
      • ImsProfileException

        public ImsProfileException​(String message,
                                   JSONObject apiResponse)
        Constructor with the possibility to add the api response.
        Parameters:
        message - error message
        apiResponse - api response with information about the error
    • Method Detail

      • getApiResponse

        public JSONObject getApiResponse()
        Returns:
        api response if available, might be null