1. /*
  2. * @(#)IMP_LIMIT.java 1.31 03/01/23
  3. *
  4. * Copyright 2003 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package org.omg.CORBA;
  8. /**
  9. * This exception indicates that an implementation limit was
  10. * exceeded in the ORB run time. For example, an ORB may reach
  11. * the maximum number of references it can hold simultaneously
  12. * in an address space, the size of a parameter may have
  13. * exceeded the allowed maximum, or an ORB may impose a maximum
  14. * on the number of clients or servers that can run simultaneously.<P>
  15. * It contains a minor code, which gives more detailed information about
  16. * what caused the exception, and a completion status. It may also contain
  17. * a string describing the exception.
  18. *
  19. * @see <A href="../../../../guide/idl/jidlExceptions.html">documentation on
  20. * Java IDL exceptions</A>
  21. * @version 1.16, 09/09/97
  22. * @since JDK1.2
  23. */
  24. public final class IMP_LIMIT extends SystemException {
  25. /**
  26. * Constructs an <code>IMP_LIMIT</code> exception with a default
  27. * minor code of 0 and a completion state of COMPLETED_NO.
  28. */
  29. public IMP_LIMIT() {
  30. this("");
  31. }
  32. /**
  33. * Constructs an <code>IMP_LIMIT</code> exception with the specified detail
  34. * message, a minor code of 0, and a completion state of COMPLETED_NO.
  35. *
  36. * @param s the String containing a detail message
  37. */
  38. public IMP_LIMIT(String s) {
  39. this(s, 0, CompletionStatus.COMPLETED_NO);
  40. }
  41. /**
  42. * Constructs an <code>IMP_LIMIT</code> exception with the specified
  43. * minor code and completion status.
  44. * @param minor the minor code
  45. * @param completed the completion status
  46. */
  47. public IMP_LIMIT(int minor, CompletionStatus completed) {
  48. this("", minor, completed);
  49. }
  50. /**
  51. * Constructs an <code>IMP_LIMIT</code> exception with the specified detail
  52. * message, minor code, and completion status.
  53. * A detail message is a String that describes this particular exception.
  54. * @param s the String containing a detail message
  55. * @param minor the minor code
  56. * @param completed the completion status
  57. */
  58. public IMP_LIMIT(String s, int minor, CompletionStatus completed) {
  59. super(s, minor, completed);
  60. }
  61. }