1. /*
  2. * @(#)INITIALIZE.java 1.34 03/01/23
  3. *
  4. * Copyright 2003 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 thrown
  10. * when an ORB has encountered a failure during its initialization,
  11. * such as failure to acquire networking resources or detecting a
  12. * configuration error.<P>
  13. * It contains a minor code, which gives more detailed information about
  14. * what caused the exception, and a completion status. It may also contain
  15. * a string describing the exception.
  16. *
  17. * @see <A href="../../../../guide/idl/jidlExceptions.html">documentation on
  18. * Java IDL exceptions</A>
  19. * @version 1.19, 09/09/97
  20. * @since JDK1.2
  21. */
  22. public final class INITIALIZE extends SystemException {
  23. /**
  24. * Constructs an <code>INITIALIZE</code> exception with a default
  25. * minor code of 0 and a completion state of
  26. * <code>CompletionStatus.COMPLETED_NO</code>.
  27. */
  28. public INITIALIZE() {
  29. this("");
  30. }
  31. /**
  32. * Constructs an <code>INITIALIZE</code> exception with the specified detail
  33. * message, a minor code of 0, and a completion state of
  34. * <code>CompletionStatus.COMPLETED_NO</code>.
  35. * @param s the String containing a detail message
  36. */
  37. public INITIALIZE(String s) {
  38. this(s, 0, CompletionStatus.COMPLETED_NO);
  39. }
  40. /**
  41. * Constructs an <code>INITIALIZE</code> exception with the specified
  42. * minor code and completion status.
  43. * @param minor the minor code
  44. * @param completed an instance of <code>CompletionStatus</code>
  45. * indicating the completion status of the method
  46. * that threw this exception
  47. */
  48. public INITIALIZE(int minor, CompletionStatus completed) {
  49. this("", minor, completed);
  50. }
  51. /**
  52. * Constructs an <code>INITIALIZE</code> exception with the specified detail
  53. * message, minor code, and completion status.
  54. * A detail message is a String that describes this particular exception.
  55. * @param s the String containing a detail message
  56. * @param minor the minor code
  57. * @param completed an instance of <code>CompletionStatus</code>
  58. * indicating the completion status of the method
  59. * that threw this exception
  60. */
  61. public INITIALIZE(String s, int minor, CompletionStatus completed) {
  62. super(s, minor, completed);
  63. }
  64. }