DAOException.java

package ejava.examples.daoex.dao;

/**
 * This is the base exception for example DAOs.
 *
 */
public class DAOException extends RuntimeException {
    private static final long serialVersionUID = 1L;
    public DAOException() {}
    public DAOException(String message) { super(message); }
    public DAOException(String message, Throwable rootCause) {
        super(message, rootCause);
    }
    public DAOException(Throwable rootCause) {
        super(rootCause);
    }
}