Package com.adobe.cq.adobeims.imsprofile
Class ImsProfileException
- java.lang.Object
 - 
- java.lang.Throwable
 - 
- java.lang.Exception
 - 
- java.lang.RuntimeException
 - 
- com.adobe.cq.adobeims.imsprofile.ImsProfileException
 
 
 
 
 
- 
- All Implemented Interfaces:
 java.io.Serializable
public class ImsProfileException extends java.lang.RuntimeExceptionARuntimeExceptionthrown by theImsProfileServiceif an error occurs while requesting the IMS profile API.- See Also:
 - Serialized Form
 
 
- 
- 
Constructor Summary
Constructors Constructor Description ImsProfileException(java.lang.String message)ImsProfileException(java.lang.String message, java.lang.Throwable cause)ImsProfileException(java.lang.String message, JSONObject apiResponse)Constructor with the possibility to add the api response. 
- 
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JSONObjectgetApiResponse() 
 - 
 
- 
- 
Constructor Detail
- 
ImsProfileException
public ImsProfileException(java.lang.String message)
 
- 
ImsProfileException
public ImsProfileException(java.lang.String message, java.lang.Throwable cause) 
- 
ImsProfileException
public ImsProfileException(java.lang.String message, JSONObject apiResponse)Constructor with the possibility to add the api response.- Parameters:
 message- error messageapiResponse- api response with information about the error
 
 - 
 
- 
Method Detail
- 
getApiResponse
public JSONObject getApiResponse()
- Returns:
 - api response if available, might be null
 
 
 - 
 
 -