1 package ejava.projects.eleague.dao;
2
3 /**
4 * This class defines an unchecked exception that can be thrown by the
5 * ClubDAO. A more general exception could be defined for all DAOs. This
6 * exception should report plumbing errors with the infrastructure -- not
7 * items like invalid inputs.
8 */
9 public class ClubDAOException extends RuntimeException {
10 private static final long serialVersionUID = 1L;
11 public ClubDAOException(String message) {
12 super(message);
13 }
14 public ClubDAOException(String message, Throwable th) {
15 super(message, th);
16 }
17 }