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

cc.catalysts.boot.exception.NotFoundException Maven / Gradle / Ivy

There is a newer version: 1.1.7
Show newest version
package cc.catalysts.boot.exception;

import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;

/**
 * Raise this exception to have HTTP Responses with the status code 404
 *
 * @author Klaus Lehner
 */
@ResponseStatus(value = HttpStatus.NOT_FOUND)
public class NotFoundException extends RuntimeException {

    public NotFoundException() {
    }

    public NotFoundException(String message) {
        super(message);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy