1. /*
  2. * @(#)INITIALIZE.java 1.28 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>INITIALIZE</code> exception, which is thrown
  13. * when there is an ORB initialization error.
  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. *
  18. * @see <A href="../../../../guide/idl/jidlExceptions.html">documentation on
  19. * Java IDL exceptions</A>
  20. * @version 1.19, 09/09/97
  21. * @since JDK1.2
  22. */
  23. public final class INITIALIZE extends SystemException {
  24. /**
  25. * Constructs an <code>INITIALIZE</code> exception with a default
  26. * minor code of 0 and a completion state of
  27. * <code>CompletionStatus.COMPLETED_NO</code>.
  28. */
  29. public INITIALIZE() {
  30. this("");
  31. }
  32. /**
  33. * Constructs an <code>INITIALIZE</code> exception with the specified detail
  34. * message, a minor code of 0, and a completion state of
  35. * <code>CompletionStatus.COMPLETED_NO</code>.
  36. * @param s the String containing a detail message
  37. */
  38. public INITIALIZE(String s) {
  39. this(s, 0, CompletionStatus.COMPLETED_NO);
  40. }
  41. /**
  42. * Constructs an <code>INITIALIZE</code> exception with the specified
  43. * minor code and completion status.
  44. * @param minor the minor code
  45. * @param completed an instance of <code>CompletionStatus</code>
  46. * indicating the completion status of the method
  47. * that threw this exception
  48. */
  49. public INITIALIZE(int minor, CompletionStatus completed) {
  50. this("", minor, completed);
  51. }
  52. /**
  53. * Constructs an <code>INITIALIZE</code> exception with the specified detail
  54. * message, minor code, and completion status.
  55. * A detail message is a String that describes this particular exception.
  56. * @param s the String containing a detail message
  57. * @param minor the minor code
  58. * @param completed an instance of <code>CompletionStatus</code>
  59. * indicating the completion status of the method
  60. * that threw this exception
  61. */
  62. public INITIALIZE(String s, int minor, CompletionStatus completed) {
  63. super(s, minor, completed);
  64. }
  65. }