code: protected String getVBSFailedLineErrorMessage(String errorPut)
      {
          String message="";
          if(errorPut!=null)
          {
              String prefix=".vbs(";
              int start=errorPut.indexOf(prefix);
              if(start!=-1)
              {
                  start=start+prefix.length();
                  int end=errorPut.indexOf(", ",start-1);
                  if(end!=-1)
                  {
                      String lineNumberStr=errorPut.substring(start,end);
                      if(lineNumberStr.length()>0)
                      {
                          int lineNumber=-1;
                          try
                          {
                              lineNumber=Integer.parseInt(lineNumberStr);
                          }
                          catch(NumberFormatException exception)
                          {
                              //ignore
                          }
                          
                          if(lineNumber>=1)
                          {
                              message=" error found at line "+lineNumber+", ";
                          }
                      }
                  }
              }
          }
          
          return message;
      }
docs: This function returns the VBS error line for the exception message.
  
  @param   errorPut
  The error put
  @return  The message