public List<VmfsDatastoreOption> queryVmfsDatastoreExpandOptions(Datastore datastore){
  HostDatastoreSystem datastoreSystem=getDatastoreSystem();
  try {
    return createList(datastoreSystem.queryVmfsDatastoreExpandOptions(datastore));
  }
 catch (  HostConfigFault e) {
    throw new VMWareException(e);
  }
catch (  NotFound e) {
    throw new VMWareException(e);
  }
catch (  RuntimeFault e) {
    throw new VMWareException(e);
  }
catch (  RemoteException e) {
    throw new VMWareException(e);
  }
}

public List < VmfsDatastoreOption > queryVmfsDatastoreExpandOptions ( Datastore datastore ) { HostDatastoreSystem datastoreSystem = getDatastoreSystem ( ) ; try { return createList ( datastoreSystem . queryVmfsDatastoreExpandOptions ( datastore ) ) ; } catch ( HostConfigFault e ) { throw new VMWareException ( e ) ; } catch ( NotFound e ) { throw new VMWareException ( e ) ; } catch ( RuntimeFault e ) { throw new VMWareException ( e ) ; } catch ( RemoteException e ) { throw new VMWareException ( e ) ; } }
query for the vmfs datastore expand options .
