1. /*
  2. * @(#)CODESET_INCOMPATIBLE.java 1.2 04/03/15
  3. *
  4. * Copyright 2004 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 is raised whenever meaningful communication is not possible
  10. * between client and server native code sets.
  11. *
  12. * @see <A href="../../../../guide/idl/jidlExceptions.html">documentation on
  13. * Java IDL exceptions</A>
  14. * @version 1.0, 03/05/2004
  15. * @since J2SE 1.5
  16. */
  17. public final class CODESET_INCOMPATIBLE extends SystemException {
  18. /**
  19. * Constructs an <code>CODESET_INCOMPATIBLE</code> exception with
  20. * minor code set to 0 and CompletionStatus set to COMPLETED_NO.
  21. */
  22. public CODESET_INCOMPATIBLE() {
  23. this("");
  24. }
  25. /**
  26. * Constructs an <code>CODESET_INCOMPATIBLE</code> exception with the
  27. * specified message.
  28. *
  29. * @param detailMessage string containing a detailed message.
  30. */
  31. public CODESET_INCOMPATIBLE(String detailMessage) {
  32. this(detailMessage, 0, CompletionStatus.COMPLETED_NO);
  33. }
  34. /**
  35. * Constructs an <code>CODESET_INCOMPATIBLE</code> exception with the
  36. * specified minor code and completion status.
  37. *
  38. * @param minorCode minor code.
  39. * @param completionStatus completion status.
  40. */
  41. public CODESET_INCOMPATIBLE(int minorCode,
  42. CompletionStatus completionStatus) {
  43. this("", minorCode, completionStatus);
  44. }
  45. /**
  46. * Constructs an <code>CODESET_INCOMPATIBLE</code> exception with the
  47. * specified message, minor code, and completion status.
  48. *
  49. * @param detailMessage string containing a detailed message.
  50. * @param minorCode minor code.
  51. * @param completionStatus completion status.
  52. */
  53. public CODESET_INCOMPATIBLE(String detailMessage,
  54. int minorCode,
  55. CompletionStatus completionStatus) {
  56. super(detailMessage, minorCode, completionStatus);
  57. }
  58. }