KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > com > triactive > jdo > UnsupportedConnectionFactoryException


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: UnsupportedConnectionFactoryException.java,v 1.3 2002/11/08 05:06:22 jackknifebarber Exp $
9  */

10
11 package com.triactive.jdo;
12
13 import javax.jdo.JDOUnsupportedOptionException;
14
15
16 /**
17  * A <tt>UnsupportedConnectionFactoryException</tt> is thrown if a configured
18  * connection factory is a supported factory type.
19  *
20  * @author <a HREF="mailto:mmartin5@austin.rr.com">Mike Martin</a>
21  * @version $Revision: 1.3 $
22  *
23  * @see PersistenceManagerFactoryImpl
24  */

25
26 public class UnsupportedConnectionFactoryException extends JDOUnsupportedOptionException
27 {
28     /**
29      * Constructs an unsupported connection exception.
30      *
31      * @param factory The connection factory object that is not supported.
32      */

33
34     public UnsupportedConnectionFactoryException(Object JavaDoc factory)
35     {
36         super("Connection factory not supported, must be a javax.sql.DataSource: " + factory);
37     }
38 }
39
Popular Tags