01: /*
02: *
03: * tinySQLException.java
04: * An Exception that is thrown when a problem has occurred in tinySQL
05: *
06: * Copyright 1996, Brian C. Jepson
07: * (bjepson@ids.net)
08: * $Author: davis $
09: * $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;
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 {
37:
38: /**
39: *
40: * Constructs a new tinySQLException
41: * @param message the exception's message
42: *
43: */
44: public tinySQLException(String message) {
45: super (message);
46: }
47:
48: /**
49: *
50: * Constructs a new tinySQLException with no message.
51: *
52: */
53: public tinySQLException() {
54: }
55:
56: }
|