KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > triactive > jdo > sco > IncompatibleFieldTypeException


1 /*
2  * Copyright 2004 (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: IncompatibleFieldTypeException.java,v 1.4 2004/01/18 03:01:06 jackknifebarber Exp $
9  */

10
11 package com.triactive.jdo.sco;
12
13 import com.triactive.jdo.SCO;
14
15
16 /**
17  * A <tt>IncompatibleFieldTypeException</tt> is thrown if an incompatible field
18  * type is specified in the construction of a second-class object instance.
19  *
20  * @author <a HREF="mailto:mmartin5@austin.rr.com">Mike Martin</a>
21  * @version $Revision: 1.4 $
22  */

23
24 public class IncompatibleFieldTypeException extends IncompatibleTypeException
25 {
26     /**
27      * Constructs an incompatible field type exception.
28      *
29      * @param sco The second-class object.
30      * @param expected The expected type.
31      * @param actual The actual type.
32      */

33
34     public IncompatibleFieldTypeException(SCO sco, Class JavaDoc expected, Class JavaDoc actual)
35     {
36         super(sco, "field", expected, actual);
37     }
38 }
39
Popular Tags