public class ErrorResponseException extends MinioException
Constructor and Description |
---|
ErrorResponseException(ErrorResponse errorResponse,
okhttp3.Response response,
String httpTrace)
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.
|
okhttp3.Response |
response() |
String |
toString() |
httpTrace
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public ErrorResponseException(ErrorResponse errorResponse, okhttp3.Response response, String httpTrace)
public ErrorResponse errorResponse()
public okhttp3.Response response()