public class ErrorResponseException extends MinioException
| Constructor and Description |
|---|
ErrorResponseException(ErrorResponse errorResponse,
okhttp3.Response response)
Constructs a new ErrorResponseException with error response and HTTP response object.
|
| Modifier and Type | Method and Description |
|---|---|
ErrorResponse |
errorResponse()
Returns ErrorResponse contains detail of what error occured.
|
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic ErrorResponseException(ErrorResponse errorResponse, okhttp3.Response response)
public ErrorResponse errorResponse()