KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > triactive > jdo > store > NotABaseTableException


1 /*
2  * Copyright 2002 (C) TJDO.
3  * All rights reserved.
4  *
5  * This software is distributed under the terms of the TJDO License version 1.0.
6  * See the terms of the TJDO License in the documentation provided with this software.
7  *
8  * $Id: NotABaseTableException.java,v 1.3 2002/11/08 05:06:25 jackknifebarber Exp $
9  */

10
11 package com.triactive.jdo.store;
12
13
14 /**
15  * A <tt>NotABaseTableException</tt> is thrown during schema validation if a
16  * table should be a base table but is found not to be in the database.
17  *
18  * @author <a HREF="mailto:mmartin5@austin.rr.com">Mike Martin</a>
19  * @version $Revision: 1.3 $
20  *
21  * @see BaseTable
22  */

23
24 public class NotABaseTableException extends SchemaValidationException
25 {
26     /**
27      * Constructs a not-a-base-table exception.
28      *
29      * @param table The table that is of the wrong type.
30      */

31
32     public NotABaseTableException(Table table)
33     {
34         super("Table is of the wrong type, should be a base table:" + table);
35     }
36 }
37
Popular Tags