1. /*
  2. * @(#)INTF_REPOS.java 1.21 01/11/29
  3. *
  4. * Copyright 2002 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package org.omg.CORBA;
  8. /**
  9. * The CORBA <code>INTF_REPOS</code> exception, which is thrown
  10. * when there is an error accessing the interface repository.
  11. * It contains a minor code, which gives more detailed information about
  12. * what caused the exception, and a completion status. It may also contain
  13. * a string describing the exception.
  14. *
  15. * @see <A href="../../../../guide/idl/jidlExceptions.html">documentation on
  16. * Java IDL exceptions</A>
  17. * @version 1.16, 09/09/97
  18. * @since JDK1.2
  19. */
  20. public final class INTF_REPOS extends SystemException {
  21. /**
  22. * Constructs an <code>INTF_REPOS</code> exception with a default minor code
  23. * of 0 and a completion state of COMPLETED_NO.
  24. */
  25. public INTF_REPOS() {
  26. this("");
  27. }
  28. /**
  29. * Constructs an <code>INTF_REPOS</code> exception with the specified detail.
  30. * @param s the String containing a detail message
  31. */
  32. public INTF_REPOS(String s) {
  33. this(s, 0, CompletionStatus.COMPLETED_NO);
  34. }
  35. /**
  36. * Constructs an <code>INTF_REPOS</code> exception with the specified
  37. * minor code and completion status.
  38. * @param minor the minor code
  39. * @param completed the completion status
  40. */
  41. public INTF_REPOS(int minor, CompletionStatus completed) {
  42. this("", minor, completed);
  43. }
  44. /**
  45. * Constructs an <code>INTF_REPOS</code> exception with the specified detail
  46. * message, minor code, and completion status.
  47. * A detail message is a String that describes this particular exception.
  48. * @param s the String containing a detail message
  49. * @param minor the minor code
  50. * @param completed the completion status
  51. */
  52. public INTF_REPOS(String s, int minor, CompletionStatus completed) {
  53. super(s, minor, completed);
  54. }
  55. }