code: @Override
      public void validateProcessOutput(FaxClientSpi faxClientSpi,ProcessOutput processOutput,FaxActionType faxActionType)
      {
          //call exit code validation
          super.validateProcessOutput(faxClientSpi,processOutput,faxActionType);
  
          //get output
          String output=processOutput.getOutputText();
          String errorPut=processOutput.getErrorText();
  
          boolean throwError=false;
          if((output!=null)&&(output.length()>0))
          {
              if(output.indexOf(VBSProcessOutputValidator.OPERATION_OUTPUT_DONE)==-1)
              {
                  throwError=true;
              }
          }
          else
          {
              throwError=true;
          }
          
          if(throwError)
          {
              String message=this.getVBSFailedLineErrorMessage(errorPut);
              if((errorPut!=null)&&(errorPut.indexOf(VBSProcessOutputValidator.ACTIVE_X_NOT_INSTALLED)!=-1))
              {
                  throw new FaxException("Error while invoking VBS script (fax server ActiveX not installed on system),"+message+" script output:\n"+output+"\nScript error:\n"+errorPut);
              }
              
              throw new FaxException("Error while invoking VBS script,"+message+" script output:\n"+output+"\nScript error:\n"+errorPut);
          }
      }
docs: This function validates the process output for errors.<br>
  If not valid, an exception should be thrown.
  
  @param   faxClientSpi
  The fax client SPI
  @param   processOutput
  The process output to validate
  @param   faxActionType
  The fax action type