internal.org.springframework.content.rest.controllers.ResourceNotFoundException Maven / Gradle / Ivy
package internal.org.springframework.content.rest.controllers;
import org.springframework.http.HttpStatus;
import org.springframework.web.bind.annotation.ResponseStatus;
@ResponseStatus(HttpStatus.NOT_FOUND)
public class ResourceNotFoundException extends RuntimeException {
private static final long serialVersionUID = -6124495386768178309L;
public ResourceNotFoundException() {
this("Resource not found!");
}
public ResourceNotFoundException(String message) {
this(message, null);
}
public ResourceNotFoundException(String message, Throwable cause) {
super(message, cause);
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy