social-networking-library/src/main/java/org/gcube/portal/databook/shared/ex/FeedIDNotFoundException.java

13 lines
445 B
Java

package org.gcube.portal.databook.shared.ex;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
@SuppressWarnings("serial")
public class FeedIDNotFoundException extends Exception {
private static final Logger _log = LoggerFactory.getLogger(FeedIDNotFoundException.class);
public FeedIDNotFoundException(String message, String postId) {
_log.info("The Post having id: " + postId + " is not present in the database: " + message);
}
}