public class ApiException extends RuntimeException
Constructor and Description |
---|
ApiException(int statusCode,
String responseBody,
String errorId,
List<APIError> errors) |
ApiException(String message,
int statusCode,
String responseBody,
String errorId,
List<APIError> errors) |
Modifier and Type | Method and Description |
---|---|
String |
getErrorId() |
List<APIError> |
getErrors() |
String |
getResponseBody() |
int |
getStatusCode() |
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public ApiException(int statusCode, String responseBody, String errorId, List<APIError> errors)
public int getStatusCode()
public String getResponseBody()
public String getErrorId()
errorId
received from the Worldline Global Collect platform if available.public List<APIError> getErrors()
errors
received from the Worldline Global Collect platform if available. Never null
.Copyright © 2024 Worldline Global Collect. All rights reserved.