private void doExecute( ExecuteRequest request, HttpResponseBuffer response ) throws OWSException { LOG.trace( "doExecute invoked, request: " + request.toString() ); long start = System.currentTimeMillis(); CodeType processId = request.getProcessId(); WPSProcess process = processManager.getProcess( processId ); if ( process == null ) { String msg = "Internal error. Process '" + processId + "' not found."; throw new OWSException( msg, OWSException.INVALID_PARAMETER_VALUE ); } try { if ( request.getResponseForm() == null || request.getResponseForm() instanceof ResponseDocument ) { executeHandler.handleResponseDocumentOutput( request, response, process ); } else { executeHandler.handleRawDataOutput( request, response, process ); } } catch ( OWSException e ) { throw e; } catch ( Exception e ) { LOG.debug( e.getMessage(), e ); throw new OWSException( e.getMessage(), NO_APPLICABLE_CODE ); } long elapsed = System.currentTimeMillis() - start; LOG.debug( "doExecute took " + elapsed + " milliseconds" ); LOG.trace( "doExecute finished" ); }
break; WPSProcess process = processManager.getProcess( identifier ); if ( process != null ) { processes.add( process );