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