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