
la.vui.api.rest.errors.http.NotFoundError Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of rest Show documentation
Show all versions of rest Show documentation
Library contains some useful classes for Rest API
The newest version!
package la.vui.api.rest.errors.http;
import la.vui.api.rest.errors.Constants;
import org.springframework.http.HttpStatus;
public class NotFoundError extends BaseError {
private static String errorCode = Constants.ERR_RESOURCE_NOT_FOUND;
private static String errorMessage = "Resource could not be found";
private static HttpStatus errorStatus = HttpStatus.NOT_FOUND;
public NotFoundError() {
super(errorCode, errorMessage, errorStatus);
}
public NotFoundError(String code) {
super(code, errorMessage, errorStatus);
}
public NotFoundError(String code, String message) {
super(code, message, errorStatus);
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy