public class CoreApiException extends Exception
| Constructor and Description |
|---|
CoreApiException(String reason)
Initialization constructor.
|
CoreApiException(String reason,
io.apimatic.coreinterfaces.http.Context context)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
io.apimatic.coreinterfaces.http.Context |
getHttpContext()
The HTTP response body from the API request.
|
int |
getResponseCode()
The HTTP response code from the API request.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic CoreApiException(String reason)
reason - The reason for throwing exception.public CoreApiException(String reason, io.apimatic.coreinterfaces.http.Context context)
reason - The reason for throwing exception.context - The http context of the API exception.public int getResponseCode()
public io.apimatic.coreinterfaces.http.Context getHttpContext()
Copyright © 2025. All rights reserved.