1 package ejava.examples.daoex.dao;
2
3 /**
4 * This is the base exception for example DAOs.
5 *
6 */
7 public class DAOException extends RuntimeException {
8 private static final long serialVersionUID = 1L;
9 public DAOException() {}
10 public DAOException(String message) { super(message); }
11 public DAOException(String message, Throwable rootCause) {
12 super(message, rootCause);
13 }
14 public DAOException(Throwable rootCause) {
15 super(rootCause);
16 }
17 }