KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > omg > IOP > ExceptionDetailMessage


1 package org.omg.IOP;
2
3
4 /**
5 * org/omg/IOP/ExceptionDetailMessage.java .
6 * Generated by the IDL-to-Java compiler (portable), version "3.2"
7 * from ../../../../src/share/classes/org/omg/PortableInterceptor/IOP.idl
8 * Saturday, February 9, 2008 9:40:04 AM GMT
9 */

10
11 public interface ExceptionDetailMessage
12 {
13
14   /**
15      * CORBA formal/02-06-01: 13.7.1:
16      * ExceptionDetailMessage identifies a CDR encapsulation of a wstring,
17      * encoded using GIOP 1.2 with a TCS-W of UTF-16. This service context
18      * may be sent on Reply messages with a reply_status of SYSTEM_EXCEPTION
19      * or USER_EXCEPTION. The usage of this service context is defined
20      * by language mappings. <br/> <br/>
21      *
22      * IDL/Java: ptc/02-01-22: 1.15.2:
23      * When a System Exception is marshaled, its GIOP Reply message shall
24      * include an associated ExceptionDetailMessage service context. The
25      * callee's stack trace is often very valuable debugging information but
26      * may contain sensitive or unwanted information. The wstring within the
27      * service context will therefore contain additional information relating
28      * to the exception, for example the result of calling either
29      * printStackTrace(PrintWriter) or getMessage() on the exception. When
30      * unmarshaling a System Exception on the client side, the wstring from
31      * any ExceptionDetailMessage service context shall become the Java error
32      * message in the unmarshaled exception object.
33      */

34   public static final int value = (int)(14L);
35 }
36
Popular Tags