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