01: /* ====================================================================
02: * Copyright (c) 1998 - 2003 David F. Glasser. All rights
03: * reserved.
04: *
05: * This file is part of the QueryForm Database Tool.
06: *
07: * The QueryForm Database Tool is free software; you can redistribute it
08: * and/or modify it under the terms of the GNU General Public License as
09: * published by the Free Software Foundation; either version 2 of the
10: * License, or (at your option) any later version.
11: *
12: * The QueryForm Database Tool is distributed in the hope that it will
13: * be useful, but WITHOUT ANY WARRANTY; without even the implied
14: * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
15: * See the GNU General Public License for more details.
16: *
17: * You should have received a copy of the GNU General Public License
18: * along with the QueryForm Database Tool; if not, write to:
19: *
20: * The Free Software Foundation, Inc.,
21: * 59 Temple Place, Suite 330
22: * Boston, MA 02111-1307 USA
23: *
24: * or visit http://www.gnu.org.
25: *
26: * ====================================================================
27: *
28: * This product includes software developed by the
29: * Apache Software Foundation (http://www.apache.org/).
30: *
31: * ====================================================================
32: *
33: * $Source: /cvsroot/qform/qform/src/org/glasser/qform/UnknownPrimaryKeyException.java,v $
34: * $Revision: 1.1 $
35: * $Author: dglasser $
36: * $Date: 2003/07/11 03:04:07 $
37: *
38: * --------------------------------------------------------------------
39: */
40: package org.glasser.qform;
41:
42: /**
43: * This exception is thrown inside QueryForm when a table's primary key is unknown
44: * (it was not reported in the metadata, which is the case with Access / ODBC ) and
45: * could not be "guessed" heuristically, and an operation is attempted which required
46: * knowledge of the primary key (update, delete, etc.)
47: */
48: public class UnknownPrimaryKeyException extends Exception {
49: }
|