1 /* 2 * @(#)InsufficientResourcesException.java 1.7 03/12/19 3 * 4 * Copyright 2004 Sun Microsystems, Inc. All rights reserved. 5 * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. 6 */ 7 8 package javax.naming; 9 10 /** 11 * This exception is thrown when resources are not available to complete 12 * the requested operation. This might due to a lack of resources on 13 * the server or on the client. There are no restrictions to resource types, 14 * as different services might make use of different resources. Such 15 * restrictions might be due to physical limits and/or adminstrative quotas. 16 * Examples of limited resources are internal buffers, memory, network bandwidth. 17 *<p> 18 * InsufficientResourcesException is different from LimitExceededException in that 19 * the latter is due to user/system specified limits. See LimitExceededException 20 * for details. 21 * <p> 22 * Synchronization and serialization issues that apply to NamingException 23 * apply directly here. 24 * 25 * @author Rosanna Lee 26 * @author Scott Seligman 27 * @version 1.7 03/12/19 28 * @since 1.3 29 */ 30 31 public class InsufficientResourcesException extends NamingException { 32 /** 33 * Constructs a new instance of InsufficientResourcesException using an 34 * explanation. All other fields default to null. 35 * 36 * @param explanation Possibly null additional detail about this exception. 37 * @see java.lang.Throwable#getMessage 38 */ 39 public InsufficientResourcesException(String explanation) { 40 super(explanation); 41 } 42 43 /** 44 * Constructs a new instance of InsufficientResourcesException with 45 * all name resolution fields and explanation initialized to null. 46 */ 47 public InsufficientResourcesException() { 48 super(); 49 } 50 51 /** 52 * Use serialVersionUID from JNDI 1.1.1 for interoperability 53 */ 54 private static final long serialVersionUID = 6227672693037844532L; 55 } 56