1. /*
  2. * @(#)NO_IMPLEMENT.java 1.33 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. * This exception indicates that even though the operation that
  10. * was invoked exists (it has an IDL definition), no implementation
  11. * for that operation exists. <tt>NO_IMPLEMENT</tt> can, for
  12. * example, be raised by an ORB if a client asks for an object's
  13. * type definition from the interface repository, but no interface
  14. * repository is provided by the ORB.<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. * <P>
  19. * See the section <A href="../../../../guide/idl/jidlExceptions.html#minorcodemeanings">Minor
  20. * Code Meanings</A> to see the minor codes for this exception.
  21. *
  22. * @version 1.17, 09/09/97
  23. * @since JDK1.2
  24. */
  25. public final class NO_IMPLEMENT extends SystemException {
  26. /**
  27. * Constructs a <code>NO_IMPLEMENT</code> exception with a default minor code
  28. * of 0, a completion state of CompletionStatus.COMPLETED_NO,
  29. * and a null description.
  30. */
  31. public NO_IMPLEMENT() {
  32. this("");
  33. }
  34. /**
  35. * Constructs a <code>NO_IMPLEMENT</code> exception with the specified description message,
  36. * a minor code of 0, and a completion state of COMPLETED_NO.
  37. * @param s the String containing a description of the exception
  38. */
  39. public NO_IMPLEMENT(String s) {
  40. this(s, 0, CompletionStatus.COMPLETED_NO);
  41. }
  42. /**
  43. * Constructs a <code>NO_IMPLEMENT</code> exception with the specified
  44. * minor code and completion status.
  45. * @param minor an <code>int</code> specifying the minor code
  46. * @param completed a <code>CompletionStatus</code> instance indicating
  47. * the completion status
  48. */
  49. public NO_IMPLEMENT(int minor, CompletionStatus completed) {
  50. this("", minor, completed);
  51. }
  52. /**
  53. * Constructs a <code>NO_IMPLEMENT</code> exception with the specified description
  54. * message, minor code, and completion status.
  55. * @param s the String containing a description message
  56. * @param minor an <code>int</code> specifying the minor code
  57. * @param completed a <code>CompletionStatus</code> instance indicating
  58. * the completion status
  59. */
  60. public NO_IMPLEMENT(String s, int minor, CompletionStatus completed) {
  61. super(s, minor, completed);
  62. }
  63. }