com.github.davidmoten.aws.lw.client.ServiceException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of aws-lightweight-client-java Show documentation
Show all versions of aws-lightweight-client-java Show documentation
Lightweight client for all AWS services (but still with useful builders and XML parser)
The newest version!
package com.github.davidmoten.aws.lw.client;
public final class ServiceException extends RuntimeException {
private static final long serialVersionUID = -6963816822115090962L;
private final int statusCode;
private final String message;
public ServiceException(int statusCode, String message) {
super("statusCode=" + statusCode + ": " + message);
this.statusCode = statusCode;
this.message = message;
}
public int statusCode() {
return statusCode;
}
public String message() {
return message;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy