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: NullValueException.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.JDODataStoreException; 14 15 16 /** 17 * A <tt>NullValueException</tt> is thrown if a null value is encountered 18 * in a database column that should prohibit null values. 19 * 20 * @author <a HREF="mailto:mmartin5@austin.rr.com">Mike Martin</a> 21 * @version $Revision: 1.3 $ 22 */ 23 24 public class NullValueException extends JDODataStoreException 25 { 26 /** 27 * Constructs a null value exception with no specific detail message. 28 */ 29 30 public NullValueException() 31 { 32 super(); 33 } 34 35 36 /** 37 * Constructs a null value exception with the specified detail message. 38 * 39 * @param msg the detail message 40 */ 41 42 public NullValueException(String msg) 43 { 44 super(msg); 45 } 46 } 47