001package org.nuxeo.ecm.platform.comment.api.exceptions;
002
003import org.nuxeo.ecm.core.api.NuxeoException;
004
005import static javax.servlet.http.HttpServletResponse.SC_NOT_FOUND;
006
007public class CommentNotFoundException extends NuxeoException {
008
009    private static final long serialVersionUID = 1L;
010
011    public CommentNotFoundException() {
012        super();
013        this.statusCode = SC_NOT_FOUND;
014    }
015
016    public CommentNotFoundException(String message) {
017        super(message);
018        this.statusCode = SC_NOT_FOUND;
019    }
020
021    public CommentNotFoundException(String message, Throwable cause) {
022        super(message, cause);
023        this.statusCode = SC_NOT_FOUND;
024    }
025
026    public CommentNotFoundException(Throwable cause) {
027        super(cause);
028        this.statusCode = SC_NOT_FOUND;
029    }
030
031}