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