nva.commons.apigateway.exceptions.BadRequestException 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 BadRequestException extends ApiGatewayException {
public BadRequestException(String message) {
super(message);
}
public BadRequestException(String message, Exception cause) {
super(cause, message);
}
@Override
protected Integer statusCode() {
return HttpURLConnection.HTTP_BAD_REQUEST;
}
}