1. /*
  2. * @(#)INV_IDENT.java 1.31 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. * This exception indicates that an IDL identifier is syntactically
  10. * invalid. It may be raised if, for example, an identifier passed
  11. * to the interface repository does not conform to IDL identifier
  12. * syntax, or if an illegal operation name is used with the DII.<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.16 09/09/97
  20. * @since JDK1.2
  21. */
  22. public final class INV_IDENT extends SystemException {
  23. /**
  24. * Constructs an <code>INV_IDENT</code> exception with a default
  25. * minor code of 0 and a completion state of COMPLETED_NO.
  26. */
  27. public INV_IDENT() {
  28. this("");
  29. }
  30. /**
  31. * Constructs an <code>INV_IDENT</code> exception with the specified detail
  32. * message, a minor code of 0, and a completion state of COMPLETED_NO.
  33. * @param s the String containing a detail message
  34. */
  35. public INV_IDENT(String s) {
  36. this(s, 0, CompletionStatus.COMPLETED_NO);
  37. }
  38. /**
  39. * Constructs an <code>INV_IDENT</code> exception with the specified
  40. * minor code and completion status.
  41. * @param minor the minor code
  42. * @param completed a <code>CompletionStatus</code> object indicating
  43. * the completion status
  44. */
  45. public INV_IDENT(int minor, CompletionStatus completed) {
  46. this("", minor, completed);
  47. }
  48. /**
  49. * Constructs an <code>INV_IDENT</code> exception with the specified detail
  50. * message, minor code, and completion status.
  51. * A detail message is a String that describes this particular exception.
  52. * @param s the String containing a detail message
  53. * @param minor the minor code
  54. * @param completed a <code>CompletionStatus</code> object indicating
  55. * the completion status
  56. */
  57. public INV_IDENT(String s, int minor, CompletionStatus completed) {
  58. super(s, minor, completed);
  59. }
  60. }