KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > sqlmagic > tinysql > tinySQLException


1 /*
2  *
3  * tinySQLException.java
4  * An Exception that is thrown when a problem has occurred in tinySQL
5  *
6  * Copyright 1996, Brian C. Jepson
7  * (bjepson@ids.net)
8  * $Author: davis $
9  * $Date: 2004/12/18 21:29:20 $
10  * $Revision: 1.1 $
11  *
12  * This library is free software; you can redistribute it and/or
13  * modify it under the terms of the GNU Lesser General Public
14  * License as published by the Free Software Foundation; either
15  * version 2.1 of the License, or (at your option) any later version.
16  *
17  * This library is distributed in the hope that it will be useful,
18  * but WITHOUT ANY WARRANTY; without even the implied warranty of
19  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20  * Lesser General Public License for more details.
21  *
22  * You should have received a copy of the GNU Lesser General Public
23  * License along with this library; if not, write to the Free Software
24  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
25  *
26  */

27
28 package com.sqlmagic.tinysql;
29
30 import java.sql.SQLException JavaDoc;
31
32 /**
33  * @author Thomas Morgner <mgs@sherito.org> tinySQLException is now a subclass of
34  * SQLException and can be directly passed to the caller.
35  */

36 public class tinySQLException extends SQLException JavaDoc
37 {
38
39   /**
40    *
41    * Constructs a new tinySQLException
42    * @param message the exception's message
43    *
44    */

45   public tinySQLException(String JavaDoc message) {
46     super(message);
47   }
48
49   /**
50    *
51    * Constructs a new tinySQLException with no message.
52    *
53    */

54   public tinySQLException() {
55   }
56
57 }
58
59
Popular Tags