1. /*
  2. * @(#)NO_IMPLEMENT.java 1.23 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>NO_IMPLEMENT</code> exception, which is thrown
  10. * when the implementation for a method is not available.
  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. * <P>
  15. * See the section <A href="../../../../guide/idl/jidlExceptions.html#minorcodemeanings">Minor
  16. * Code Meanings</A> to see the minor codes for this exception.
  17. *
  18. * @version 1.17, 09/09/97
  19. * @since JDK1.2
  20. */
  21. public final class NO_IMPLEMENT extends SystemException {
  22. /**
  23. * Constructs a <code>NO_IMPLEMENT</code> exception with a default minor code
  24. * of 0, a completion state of CompletionStatus.COMPLETED_NO,
  25. * and a null description.
  26. */
  27. public NO_IMPLEMENT() {
  28. this("");
  29. }
  30. /**
  31. * Constructs a <code>NO_IMPLEMENT</code> exception with the specified description message,
  32. * a minor code of 0, and a completion state of COMPLETED_NO.
  33. * @param s the String containing a description of the exception
  34. */
  35. public NO_IMPLEMENT(String s) {
  36. this(s, 0, CompletionStatus.COMPLETED_NO);
  37. }
  38. /**
  39. * Constructs a <code>NO_IMPLEMENT</code> exception with the specified
  40. * minor code and completion status.
  41. * @param minor the minor code
  42. * @param completed a <code>CompletionStatus</code> instance indicating
  43. * the completion status
  44. */
  45. public NO_IMPLEMENT(int minor, CompletionStatus completed) {
  46. this("", minor, completed);
  47. }
  48. /**
  49. * Constructs a <code>NO_IMPLEMENT</code> exception with the specified description
  50. * message, minor code, and completion status.
  51. * @param s the String containing a description message
  52. * @param completed a <code>CompletionStatus</code> instance indicating
  53. * the completion status
  54. */
  55. public NO_IMPLEMENT(String s, int minor, CompletionStatus completed) {
  56. super(s, minor, completed);
  57. }
  58. }