Package com.mypurecloud.sdk.v2
Class ApiException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.mypurecloud.sdk.v2.ApiException
- All Implemented Interfaces:
ApiResponse<Object>,Serializable,AutoCloseable
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ApiException
-
ApiException
-
-
Method Details
-
getException
- Specified by:
getExceptionin interfaceApiResponse<Object>
-
getStatusCode
public int getStatusCode()- Specified by:
getStatusCodein interfaceApiResponse<Object>
-
getStatusReasonPhrase
- Specified by:
getStatusReasonPhrasein interfaceApiResponse<Object>
-
hasRawBody
public boolean hasRawBody()- Specified by:
hasRawBodyin interfaceApiResponse<Object>
-
getRawBody
- Specified by:
getRawBodyin interfaceApiResponse<Object>
-
getBody
- Specified by:
getBodyin interfaceApiResponse<Object>
-
getHeaders
- Specified by:
getHeadersin interfaceApiResponse<Object>
-
getHeader
- Specified by:
getHeaderin interfaceApiResponse<Object>
-
getCorrelationId
- Specified by:
getCorrelationIdin interfaceApiResponse<Object>
-
close
- Specified by:
closein interfaceAutoCloseable- Throws:
Exception
-