1. /*
  2. * @(#)OBJECT_NOT_EXIST.java 1.20 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>OBJECT_NOT_EXIST</code> exception, which is usually thrown
  13. * from the server to indicate that the target object does not exist.
  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. * <P>
  18. * See the section <A href="../../../../guide/idl/jidlExceptions.html#minorcodemeanings">Minor
  19. * Code Meanings</A> to see the minor codes for this exception.
  20. *
  21. * @see <A href="../../../../guide/idl/jidlExceptions.html">documentation on
  22. * Java IDL exceptions</A>
  23. * @version 1.13, 09/09/97
  24. * @since JDK1.2
  25. */
  26. public final class OBJECT_NOT_EXIST extends SystemException {
  27. /**
  28. * Constructs an <code>OBJECT_NOT_EXIST</code> exception with a default minor code
  29. * of 0, a completion state of CompletionStatus.COMPLETED_NO,
  30. * and a null description.
  31. */
  32. public OBJECT_NOT_EXIST() {
  33. this("");
  34. }
  35. /**
  36. * Constructs an <code>OBJECT_NOT_EXIST</code> exception with the specified description,
  37. * a minor code of 0, and a completion state of COMPLETED_NO.
  38. * @param s the String containing a description message
  39. */
  40. public OBJECT_NOT_EXIST(String s) {
  41. this(s, 0, CompletionStatus.COMPLETED_NO);
  42. }
  43. /**
  44. * Constructs an <code>OBJECT_NOT_EXIST</code> exception with the specified
  45. * minor code and completion status.
  46. * @param minor the minor code
  47. * @param completed the completion status
  48. */
  49. public OBJECT_NOT_EXIST(int minor, CompletionStatus completed) {
  50. this("", minor, completed);
  51. }
  52. /**
  53. * Constructs an <code>OBJECT_NOT_EXIST</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 the minor code
  57. * @param completed the completion status
  58. */
  59. public OBJECT_NOT_EXIST(String s, int minor, CompletionStatus completed) {
  60. super(s, minor, completed);
  61. }
  62. }