public class ImsProfileException
extends java.lang.RuntimeException
RuntimeException
thrown by the ImsProfileService
or ImsProfileRequest
if an error occurs while requesting the IMS profile API.Constructor and Description |
---|
ImsProfileException(java.lang.String message) |
ImsProfileException(java.lang.String message,
JSONObject apiResponse)
Constructor with the possibility to add the api response.
|
ImsProfileException(java.lang.String message,
java.lang.Throwable cause) |
Modifier and Type | Method and Description |
---|---|
JSONObject |
getApiResponse() |
public ImsProfileException(java.lang.String message)
public ImsProfileException(java.lang.String message, java.lang.Throwable cause)
public ImsProfileException(java.lang.String message, JSONObject apiResponse)
message
- error messageapiResponse
- api response with information about the errorpublic JSONObject getApiResponse()
Copyright © 2010 - 2020 Adobe. All Rights Reserved