1. /*
  2. * @(#)PERSIST_STORE.java 1.21 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>PERSIST_STORE</code> exception, which is thrown
  10. * when there is an error with the persistent storage on the server.
  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. *
  15. * @see <A href="../../../../guide/idl/jidlExceptions.html">documentation on
  16. * Java IDL exceptions</A>
  17. * @version 1.16 09/09/97
  18. */
  19. public final class PERSIST_STORE extends SystemException {
  20. /**
  21. * Constructs a <code>PERSIST_STORE</code> exception with a default minor code
  22. * of 0, a completion state of CompletionStatus.COMPLETED_NO,
  23. * and a null description.
  24. */
  25. public PERSIST_STORE() {
  26. this("");
  27. }
  28. /**
  29. * Constructs a <code>PERSIST_STORE</code> exception with the specified description message,
  30. * a minor code of 0, and a completion state of COMPLETED_NO.
  31. * @param s the String containing a detail message
  32. */
  33. public PERSIST_STORE(String s) {
  34. this(s, 0, CompletionStatus.COMPLETED_NO);
  35. }
  36. /**
  37. * Constructs a <code>PERSIST_STORE</code> exception with the specified
  38. * minor code and completion status.
  39. * @param minor the minor code
  40. * @param completed the completion status
  41. */
  42. public PERSIST_STORE(int minor, CompletionStatus completed) {
  43. this("", minor, completed);
  44. }
  45. /**
  46. * Constructs a <code>PERSIST_STORE</code> exception with the specified description
  47. * message, minor code, and completion status.
  48. * @param s the String containing a description message
  49. * @param minor the minor code
  50. * @param completed the completion status
  51. */
  52. public PERSIST_STORE(String s, int minor, CompletionStatus completed) {
  53. super(s, minor, completed);
  54. }
  55. }