| Package | Description |
|---|---|
| io.apimatic.core |
| Modifier and Type | Method and Description |
|---|---|
static <ExceptionType extends CoreApiException> |
ErrorCase.setReason(String reason,
io.apimatic.coreinterfaces.type.functional.ExceptionCreator<ExceptionType> exceptionCreator)
Create the errorcase using the error reason and exception creator functional interface which
throws the respective exception while throwing.
|
static <ExceptionType extends CoreApiException> |
ErrorCase.setTemplate(String reason,
io.apimatic.coreinterfaces.type.functional.ExceptionCreator<ExceptionType> exceptionCreator)
Create the errorcase using the error reason and exception creator functional interface which
throws the respective exception while throwing.
|
| Modifier and Type | Method and Description |
|---|---|
ResponseHandler.Builder<ResponseType,ExceptionType> |
ResponseHandler.Builder.localErrorCase(String statusCode,
ErrorCase<ExceptionType> errorCase)
Setter for the localErrorCase.
|
| Modifier and Type | Method and Description |
|---|---|
ResponseHandler.Builder<ResponseType,ExceptionType> |
ResponseHandler.Builder.globalErrorCase(Map<String,ErrorCase<ExceptionType>> globalErrorCases)
Setter for the globalErrorCases.
|
Copyright © 2025. All rights reserved.