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