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