KickJava   Java API By Example, From Geeks To Geeks.

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


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

8 public class DatabaseUpdateException extends RuntimeException JavaDoc {
9
10     public DatabaseUpdateException() {
11         this(
12                 "An error occurred while updating/inserting/deleting from the database.");
13     }
14
15     public DatabaseUpdateException(String JavaDoc message) {
16         super(message);
17     }
18 }
Popular Tags