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: ColumnDefinitionException.java,v 1.3 2002/11/08 05:06:25 jackknifebarber Exp $
09: */
10:
11: package com.triactive.jdo.store;
12:
13: import javax.jdo.JDOFatalUserException;
14:
15: /**
16: * An <tt>ColumnDefinitionException</tt> is thrown if the settings of a
17: * database column are incompatible with the data type of the object field
18: * to which it is mapped.
19: *
20: * @author <a href="mailto:mmartin5@austin.rr.com">Mike Martin</a>
21: * @version $Revision: 1.3 $
22: *
23: * @see Column
24: */
25:
26: public class ColumnDefinitionException extends JDOFatalUserException {
27: /**
28: * Constructs a column definition exception with no specific detail
29: * message.
30: */
31:
32: public ColumnDefinitionException() {
33: super ();
34: }
35:
36: /**
37: * Constructs a column definition exception with the specified detail
38: * message.
39: *
40: * @param msg the detail message
41: */
42:
43: public ColumnDefinitionException(String msg) {
44: super(msg);
45: }
46: }
|