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: ConnectionFactoryNotFoundException.java,v 1.4 2003/02/05 18:15:01 jackknifebarber Exp $
09: */
10:
11: package com.triactive.jdo;
12:
13: import javax.jdo.JDOUserException;
14:
15: /**
16: * A <tt>ConnectionFactoryNotFoundException</tt> is thrown if a named connection
17: * factory cannot be found using its JNDI name.
18: *
19: * @author <a href="mailto:mmartin5@austin.rr.com">Mike Martin</a>
20: * @version $Revision: 1.4 $
21: *
22: * @see PersistenceManagerFactoryImpl
23: */
24:
25: public class ConnectionFactoryNotFoundException extends
26: JDOUserException {
27: /**
28: * Constructs a connection factory not found exception.
29: *
30: * @param name The JNDI name that was not found.
31: * @param nested The nested exception from the naming service.
32: */
33:
34: public ConnectionFactoryNotFoundException(String name,
35: Exception nested) {
36: super ("Connection factory \"" + name + "\" not found", nested);
37: }
38: }
|