KickJava   Java API By Example, From Geeks To Geeks.

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


1 package pt.waveweb.core;
2
3 /**
4  * Exception thrown when a database connection cannot be established.
5  *
6  */

7 public class DatabaseConnectionException extends RuntimeException JavaDoc {
8
9     public DatabaseConnectionException() {
10         this("A database connection could not be established.");
11     }
12
13     public DatabaseConnectionException(String JavaDoc message) {
14         super(message);
15     }
16 }
Popular Tags