KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > objectweb > rentacar > persistance > database > DatabaseException


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

7 public class DatabaseException extends Exception JavaDoc {
8
9     private static final long serialVersionUID = 1L;
10
11     public DatabaseException() {
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 DatabaseException(String JavaDoc message, Throwable JavaDoc e) {
20         super(message, e);
21     }
22
23     /**
24      * @param e the exception
25      */

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

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