KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > triactive > jdo > store > UnsupportedDataTypeException


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: UnsupportedDataTypeException.java,v 1.4 2003/02/05 18:15:32 jackknifebarber Exp $
9  */

10
11 package com.triactive.jdo.store;
12
13 import javax.jdo.JDOFatalDataStoreException;
14
15
16 /**
17  * A <tt>UnsupportedDataTypeException</tt> is thrown if an attempt is made
18  * to persist an object field whose data type is not supported by the database
19  * and/or the persistence package.
20  *
21  * @author <a HREF="mailto:mmartin5@austin.rr.com">Mike Martin</a>
22  * @version $Revision: 1.4 $
23  *
24  * @see TypeInfo
25  */

26
27 public class UnsupportedDataTypeException extends JDOFatalDataStoreException
28 {
29     /**
30      * Constructs an unsupported data type exception with no specific detail
31      * message.
32      */

33
34     public UnsupportedDataTypeException()
35     {
36         super();
37     }
38
39
40     /**
41      * Constructs an unsupported data type exception with the specified detail
42      * message.
43      *
44      * @param msg the detail message
45      */

46
47     public UnsupportedDataTypeException(String JavaDoc msg)
48     {
49         super(msg);
50     }
51
52
53     /**
54      * Constructs an unsupported data type exception with the specified detail
55      * message and nested exception.
56      *
57      * @param msg the detail message
58      * @param nested the nested exception(s).
59      */

60
61     public UnsupportedDataTypeException(String JavaDoc msg, Exception JavaDoc nested)
62     {
63         super(msg, nested);
64     }
65 }
66
Popular Tags