All Downloads are FREE. Search and download functionalities are using the official Maven repository.

la.vui.api.rest.errors.http.NotFoundError Maven / Gradle / Ivy

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