1. /*
  2. * @(#)InsufficientResourcesException.java 1.4 00/02/02
  3. *
  4. * Copyright 1999, 2000 Sun Microsystems, Inc. All Rights Reserved.
  5. *
  6. * This software is the proprietary information of Sun Microsystems, Inc.
  7. * Use is subject to license terms.
  8. *
  9. */
  10. package javax.naming;
  11. /**
  12. * This exception is thrown when resources are not available to complete
  13. * the requested operation. This might due to a lack of resources on
  14. * the server or on the client. There are no restrictions to resource types,
  15. * as different services might make use of different resources. Such
  16. * restrictions might be due to physical limits and/or adminstrative quotas.
  17. * Examples of limited resources are internal buffers, memory, network bandwidth.
  18. *<p>
  19. * InsufficientResourcesException is different from LimitExceededException in that
  20. * the latter is due to user/system specified limits. See LimitExceededException
  21. * for details.
  22. * <p>
  23. * Synchronization and serialization issues that apply to NamingException
  24. * apply directly here.
  25. *
  26. * @author Rosanna Lee
  27. * @author Scott Seligman
  28. * @version 1.4 00/02/02
  29. * @since 1.3
  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. * Constructs a new instance of InsufficientResourcesException with
  44. * all name resolution fields and explanation initialized to null.
  45. */
  46. public InsufficientResourcesException() {
  47. super();
  48. }
  49. /**
  50. * Use serialVersionUID from JNDI 1.1.1 for interoperability
  51. */
  52. private static final long serialVersionUID = 6227672693037844532L;
  53. }