01: /*
02: * Copyright 2002 (C) TJDO.
03: * All rights reserved.
04: *
05: * This software is distributed under the terms of the TJDO License version 1.0.
06: * See the terms of the TJDO License in the documentation provided with this software.
07: *
08: * $Id: UnexpectedColumnException.java,v 1.3 2002/11/08 05:06:26 jackknifebarber Exp $
09: */
10:
11: package com.triactive.jdo.store;
12:
13: /**
14: * A <tt>UnexpectedColumnException</tt> is thrown if an unexpected column is
15: * encountered in the database during schema validation.
16: *
17: * @author <a href="mailto:mmartin5@austin.rr.com">Mike Martin</a>
18: * @version $Revision: 1.3 $
19: *
20: * @see Table
21: */
22:
23: public class UnexpectedColumnException extends
24: SchemaValidationException {
25: /**
26: * Constructs a unexpected column exception.
27: *
28: * @param table The table in which the column was found.
29: * @param columnName The name of the unexpected column.
30: */
31:
32: public UnexpectedColumnException(Table table,
33: SQLIdentifier columnName) {
34: super ("Unexpected column " + columnName + " encountered in "
35: + table);
36: }
37: }
|