KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > omg > CORBA > PolicyErrorHolder


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

9
10
11 /**
12    * Thrown to indicate problems with parameter values passed to the
13    * <code>ORB.create_policy</code> operation.
14    */

15 public final class PolicyErrorHolder implements org.omg.CORBA.portable.Streamable JavaDoc
16 {
17   public org.omg.CORBA.PolicyError JavaDoc value = null;
18
19   public PolicyErrorHolder ()
20   {
21   }
22
23   public PolicyErrorHolder (org.omg.CORBA.PolicyError JavaDoc initialValue)
24   {
25     value = initialValue;
26   }
27
28   public void _read (org.omg.CORBA.portable.InputStream JavaDoc i)
29   {
30     value = org.omg.CORBA.PolicyErrorHelper.read (i);
31   }
32
33   public void _write (org.omg.CORBA.portable.OutputStream JavaDoc o)
34   {
35     org.omg.CORBA.PolicyErrorHelper.write (o, value);
36   }
37
38   public org.omg.CORBA.TypeCode JavaDoc _type ()
39   {
40     return org.omg.CORBA.PolicyErrorHelper.type ();
41   }
42
43 }
44
Popular Tags