code: public void removeWebApplication(DeployedModule deployedModule) throws Exception {
          if (com.ibm.ejs.ras.TraceComponent.isAnyTracingEnabled() && logger.isLoggable(Level.FINE)) {
              logger.logp(Level.FINE, CLASS_NAME, "removeWebApplication", "Deployed Module Virtual Host Name:", deployedModule.getVirtualHostName());
          }
  
          try {
              VirtualHost vHost = getVirtualHost(deployedModule.getVirtualHostName());
  
              if (vHost == null)
                  throw new WebAppHostNotFoundException("VirtualHost not found");
  
              vHost.removeWebApplication(deployedModule);
  
          } catch (Exception e) {
              logger.logp(Level.SEVERE, CLASS_NAME, "removeWebApplication", "Exception", new Object[] { e }); /* 283348.1 */
              throw e;
          }
  
      }
docs: Method removeWebApplication.
  
  @param deployedModule
  @throws Exception