KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > rentacar > persistance > dao > DAOException


1 package org.objectweb.rentacar.persistance.dao;
2
3 /**
4  * Deals with all exceptions raised using DAO Entities
5  * @author ofabre, mcarpentier
6  */

7 public class DAOException extends Exception JavaDoc {
8
9     private static final long serialVersionUID = 1L;
10
11     public DAOException() {
12         super();
13     }
14
15     /**
16      * @param message the raw message explaining the cause of the error
17      * @param e the exception
18      */

19     public DAOException(String JavaDoc message, Throwable JavaDoc e) {
20         super(message, e);
21     }
22
23     /**
24      * @param e the exception
25      */

26     public DAOException(Throwable JavaDoc e) {
27         super(e);
28     }
29
30     /**
31      * @param message the raw message explaining the cause of the error
32      */

33     public DAOException(String JavaDoc message) {
34         super(message);
35     }
36
37 }
38
Popular Tags