1. package org.omg.CORBA;
  2. /**
  3. * org/omg/CORBA/PolicyErrorHolder.java .
  4. * Generated by the IDL-to-Java compiler (portable), version "3.2"
  5. * from ../../../../src/share/classes/org/omg/PortableInterceptor/CORBAX.idl
  6. * Wednesday, September 15, 2004 10:28:43 AM GMT
  7. */
  8. /**
  9. * Thrown to indicate problems with parameter values passed to the
  10. * <code>ORB.create_policy</code> operation.
  11. */
  12. public final class PolicyErrorHolder implements org.omg.CORBA.portable.Streamable
  13. {
  14. public org.omg.CORBA.PolicyError value = null;
  15. public PolicyErrorHolder ()
  16. {
  17. }
  18. public PolicyErrorHolder (org.omg.CORBA.PolicyError initialValue)
  19. {
  20. value = initialValue;
  21. }
  22. public void _read (org.omg.CORBA.portable.InputStream i)
  23. {
  24. value = org.omg.CORBA.PolicyErrorHelper.read (i);
  25. }
  26. public void _write (org.omg.CORBA.portable.OutputStream o)
  27. {
  28. org.omg.CORBA.PolicyErrorHelper.write (o, value);
  29. }
  30. public org.omg.CORBA.TypeCode _type ()
  31. {
  32. return org.omg.CORBA.PolicyErrorHelper.type ();
  33. }
  34. }