return new BAD_OPERATION("Value type expected");
BAD_OPERATION bad = new BAD_OPERATION("Value type expected"); bad.minor = Minor.Any; bad.initCause(ex); throw bad;
  public Serializable extract_Value()                             throws BAD_OPERATION  {    try      {        if (has instanceof ValueBaseHolder)          return ((ValueBaseHolder) has).value;        else          {            // Normally, ValueBase holder must be an instance of the            // ValueBaseHolder. However some IDL compilers probably            // have a bug, do not deriving this way. The the only            // way to access the wrapped value is via reflection.            Field f = has.getClass().getField("value");            return (Serializable) f.get(has);          }      }    catch (Exception ex)      {        return new BAD_OPERATION("Value type expected");      }  }