public class ApiException
extends io.apimatic.core.types.CoreApiException
| Constructor and Description |
|---|
ApiException(String reason)
Initialization constructor.
|
ApiException(String reason,
io.apimatic.coreinterfaces.http.Context context)
Initialization constructor.
|
| Modifier and Type | Method and Description |
|---|---|
Object |
getData()
Returns data about the steps that completed successfully before an error was raised.
|
List<Error> |
getErrors()
Getter for the list of errors.
|
getHttpContext, getResponseCodeaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ApiException(String reason)
reason - The reason for throwing exceptionpublic ApiException(String reason, io.apimatic.coreinterfaces.http.Context context)
reason - The reason for throwing exceptioncontext - The http context of the API exceptionpublic Object getData()
Copyright © 2024. All rights reserved.