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:
Serializable
A
RuntimeException thrown by the ImsProfileService
if an error occurs while requesting the IMS profile API.- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionImsProfileException(String message) ImsProfileException(String message, Throwable cause) ImsProfileException(String message, JSONObject apiResponse) Constructor with the possibility to add the api response. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ImsProfileException
-
ImsProfileException
-
ImsProfileException
Constructor with the possibility to add the api response.- Parameters:
message- error messageapiResponse- api response with information about the error
-
-
Method Details
-
getApiResponse
- Returns:
- api response if available, might be null
-