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: UnsupportedConnectionFactoryException.java,v 1.3 2002/11/08 05:06:22 jackknifebarber Exp $
09: */
10:
11: package com.triactive.jdo;
12:
13: import javax.jdo.JDOUnsupportedOptionException;
14:
15: /**
16: * A <tt>UnsupportedConnectionFactoryException</tt> is thrown if a configured
17: * connection factory is a supported factory type.
18: *
19: * @author <a href="mailto:mmartin5@austin.rr.com">Mike Martin</a>
20: * @version $Revision: 1.3 $
21: *
22: * @see PersistenceManagerFactoryImpl
23: */
24:
25: public class UnsupportedConnectionFactoryException extends
26: JDOUnsupportedOptionException {
27: /**
28: * Constructs an unsupported connection exception.
29: *
30: * @param factory The connection factory object that is not supported.
31: */
32:
33: public UnsupportedConnectionFactoryException(Object factory) {
34: super (
35: "Connection factory not supported, must be a javax.sql.DataSource: "
36: + factory);
37: }
38: }
|