1. /*
  2. * @(#)OBJECT_NOT_EXIST.java 1.26 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 whenever an invocation on a deleted object was
  10. * performed. It is an authoritative "hard" fault report. Anyone
  11. * receiving it is allowed (even expected) to delete all copies of
  12. * this object reference and to perform other appropriate "final
  13. * recovery" style procedures. Bridges forward this exception to
  14. * clients, also destroying any records they may hold (for example,
  15. * proxy objects used in reference translation). The clients could
  16. * in turn purge any of their own data structures.
  17. * <P>
  18. * It contains a minor code, which gives more detailed information about
  19. * what caused the exception, and a completion status. It may also contain
  20. * a string describing the exception.
  21. * <P>
  22. * See the section <A href="../../../../guide/idl/jidlExceptions.html#minorcodemeanings">Minor
  23. * Code Meanings</A> to see the minor codes for this exception.
  24. *
  25. * @see <A href="../../../../guide/idl/jidlExceptions.html">documentation on
  26. * Java IDL exceptions</A>
  27. * @version 1.13, 09/09/97
  28. * @since JDK1.2
  29. */
  30. public final class OBJECT_NOT_EXIST extends SystemException {
  31. /**
  32. * Constructs an <code>OBJECT_NOT_EXIST</code> exception with a default minor code
  33. * of 0, a completion state of CompletionStatus.COMPLETED_NO,
  34. * and a null description.
  35. */
  36. public OBJECT_NOT_EXIST() {
  37. this("");
  38. }
  39. /**
  40. * Constructs an <code>OBJECT_NOT_EXIST</code> exception with the specified description,
  41. * a minor code of 0, and a completion state of COMPLETED_NO.
  42. * @param s the String containing a description message
  43. */
  44. public OBJECT_NOT_EXIST(String s) {
  45. this(s, 0, CompletionStatus.COMPLETED_NO);
  46. }
  47. /**
  48. * Constructs an <code>OBJECT_NOT_EXIST</code> exception with the specified
  49. * minor code and completion status.
  50. * @param minor the minor code
  51. * @param completed the completion status
  52. */
  53. public OBJECT_NOT_EXIST(int minor, CompletionStatus completed) {
  54. this("", minor, completed);
  55. }
  56. /**
  57. * Constructs an <code>OBJECT_NOT_EXIST</code> exception with the specified description
  58. * message, minor code, and completion status.
  59. * @param s the String containing a description message
  60. * @param minor the minor code
  61. * @param completed the completion status
  62. */
  63. public OBJECT_NOT_EXIST(String s, int minor, CompletionStatus completed) {
  64. super(s, minor, completed);
  65. }
  66. }