public void deleteVVset(String nativeId) throws Exception {
  _log.info("3PARDriver: deleteVVset enter");
  ClientResponse clientResp=null;
  final String path=MessageFormat.format(URI_DELETE_CG,nativeId);
  _log.info("3PARDriver:deleteVVset running delete VV Set " + path);
  try {
    clientResp=delete(path);
    if (clientResp == null) {
      _log.error("3PARDriver:deleteVVset There is no response from 3PAR");
      throw new HP3PARException("There is no response from 3PAR");
    }
 else     if (clientResp.getStatus() != 200) {
      String errResp=getResponseDetails(clientResp);
      throw new HP3PARException(errResp);
    }
 else {
      _log.info("3PARDriver: deleteVVset success");
    }
  }
 catch (  Exception e) {
    throw e;
  }
 finally {
    if (clientResp != null) {
      clientResp.close();
    }
    _log.info("3PARDriver:deleteVVset leave");
  }
}

public void deleteVVset ( String nativeId ) throws Exception { _log . info ( "3PARDriver: deleteVVset enter" ) ; ClientResponse clientResp = null ; final String path = MessageFormat . format ( URI_DELETE_CG , nativeId ) ; _log . info ( "3PARDriver:deleteVVset running delete VV Set " + path ) ; try { clientResp = delete ( path ) ; if ( clientResp == null ) { _log . error ( "3PARDriver:deleteVVset There is no response from 3PAR" ) ; throw new HP3PARException ( "There is no response from 3PAR" ) ; } else if ( clientResp . getStatus ( ) != 200 ) { String errResp = getResponseDetails ( clientResp ) ; throw new HP3PARException ( errResp ) ; } else { _log . info ( "3PARDriver: deleteVVset success" ) ; } } catch ( Exception e ) { throw e ; } finally { if ( clientResp != null ) { clientResp . close ( ) ; } _log . info ( "3PARDriver:deleteVVset leave" ) ; } }
delete a vv set or consistency group
