KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > pt > waveweb > core > DataAccessException


1 package pt.waveweb.core;
2
3 /**
4  * Exception thrown when an attempt to query the database fails. Sublasses
5  * runtime exception to avoid declaring it up the call stack.
6  *
7  */

8 public class DataAccessException extends RuntimeException JavaDoc {
9
10     public DataAccessException() {
11         this("An error occurred while querying the data source.");
12     }
13
14     public DataAccessException(String JavaDoc message) {
15         super(message);
16     }
17 }
Popular Tags