Exemplo n.º 1
0
  /**
   * Inserts a string value into the DynAny. Both bounded and unbounded strings are inserted using
   * this method.
   *
   * @exception InvalidValue if this DynAny has components but has a current position of -1
   * @exception InvalidValue if the string inserted is longer than the bound of a bounded string
   */
  public void insert_wstring(String value)
      throws org.omg.DynamicAny.DynAnyPackage.TypeMismatch,
          org.omg.DynamicAny.DynAnyPackage.InvalidValue {
    org.omg.CORBA.portable.ServantObject $so = _servant_preinvoke("insert_wstring", _opsClass);
    DynFixedOperations $self = (DynFixedOperations) $so.servant;

    try {
      $self.insert_wstring(value);
    } finally {
      _servant_postinvoke($so);
    }
  } // insert_wstring