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