com.ionoscloud.s3.errors.InvalidResponseException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ionos-cloud-sdk-s3 Show documentation
Show all versions of ionos-cloud-sdk-s3 Show documentation
IONOS Java SDK for Amazon S3 Compatible Cloud Storage
The newest version!
package com.ionoscloud.s3.errors;
/** Thrown to indicate that non-xml response thrown from server. */
public class InvalidResponseException extends ApiException {
private static final long serialVersionUID = -4793742105569629274L;
public InvalidResponseException(
int responseCode, String contentType, String body, String httpTrace) {
super(
"Non-XML response from server. Response code: "
+ responseCode
+ ", Content-Type: "
+ contentType
+ ", body: "
+ body,
httpTrace);
}
}