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