1. package org.omg.IOP;
  2. /**
  3. * org/omg/IOP/ExceptionDetailMessage.java .
  4. * Generated by the IDL-to-Java compiler (portable), version "3.2"
  5. * from ../../../../src/share/classes/org/omg/PortableInterceptor/IOP.idl
  6. * Wednesday, September 15, 2004 10:28:42 AM GMT
  7. */
  8. public interface ExceptionDetailMessage
  9. {
  10. /**
  11. * CORBA formal/02-06-01: 13.7.1:
  12. * ExceptionDetailMessage identifies a CDR encapsulation of a wstring,
  13. * encoded using GIOP 1.2 with a TCS-W of UTF-16. This service context
  14. * may be sent on Reply messages with a reply_status of SYSTEM_EXCEPTION
  15. * or USER_EXCEPTION. The usage of this service context is defined
  16. * by language mappings. <br/> <br/>
  17. *
  18. * IDL/Java: ptc/02-01-22: 1.15.2:
  19. * When a System Exception is marshaled, its GIOP Reply message shall
  20. * include an associated ExceptionDetailMessage service context. The
  21. * callee's stack trace is often very valuable debugging information but
  22. * may contain sensitive or unwanted information. The wstring within the
  23. * service context will therefore contain additional information relating
  24. * to the exception, for example the result of calling either
  25. * printStackTrace(PrintWriter) or getMessage() on the exception. When
  26. * unmarshaling a System Exception on the client side, the wstring from
  27. * any ExceptionDetailMessage service context shall become the Java error
  28. * message in the unmarshaled exception object.
  29. */
  30. public static final int value = (int)(14L);
  31. }