nva.commons.apigateway.exceptions.ApiIoException 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.io.IOException;
import java.net.HttpURLConnection;
public class ApiIoException extends ApiGatewayException {
public static final int ERROR_CODE = HttpURLConnection.HTTP_INTERNAL_ERROR;
public ApiIoException(IOException e, String errorMessage) {
super(e, errorMessage);
}
@Override
public Integer statusCode() {
return ERROR_CODE;
}
}