cc.catalysts.boot.exception.NotFoundException Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of cat-boot-api Show documentation
Show all versions of cat-boot-api Show documentation
Catalysts Spring Boot extentions
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