package eu.dnetlib.functionality.notification.dao;

/**
 * This exception is thrown by a notification DAO if any errors occur.
 * @author thanos@di.uoa.gr
 * @see NotificationDAO
 *
 */
public class NotificationDAOException extends Exception {
	private static final long serialVersionUID = 1L;
	
	/**
	 * Construct a new notification DAO exception.
	 * @param message the message
	 * @param cause the cause
	 */
	public NotificationDAOException(final String message, final Throwable cause) {
		super(message, cause);
	}
		
	/**
	 * Construct a new notification DAO exception with cause set to null.
	 * @param message the message
	 */
	public NotificationDAOException(final String message) {
		super(message);
	}	
}
