nva.commons.apigateway.exceptions.GatewayResponseSerializingException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of apigateway Show documentation
Show all versions of apigateway Show documentation
A commons library for the NVA project
package nva.commons.apigateway.exceptions;
import java.net.HttpURLConnection;
public class GatewayResponseSerializingException extends ApiGatewayException {
public static final String ERROR_MESSAGE = "Failed serializing ResponseBody to JSON string.";
private static final Integer ERROR_CODE = HttpURLConnection.HTTP_INTERNAL_ERROR;
public GatewayResponseSerializingException(Exception e) {
super(e, ERROR_MESSAGE);
}
@Override
protected Integer statusCode() {
return ERROR_CODE;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy