juergen     2003/08/21 03:31:42

  Modified:    
testsuite/testsuite/junit/src/org/apache/slide/testsuite/testtools/tprocessor
                        TProcessors.java
  Log:
  write the method and url info in any (possible) case.
  
  Revision  Changes    Path
  1.67      +13 -5     
jakarta-slide/testsuite/testsuite/junit/src/org/apache/slide/testsuite/testtools/tprocessor/TProcessors.java
  
  Index: TProcessors.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-slide/testsuite/testsuite/junit/src/org/apache/slide/testsuite/testtools/tprocessor/TProcessors.java,v
  retrieving revision 1.66
  retrieving revision 1.67
  diff -u -r1.66 -r1.67
  --- TProcessors.java  19 Aug 2003 07:08:50 -0000      1.66
  +++ TProcessors.java  21 Aug 2003 10:31:42 -0000      1.67
  @@ -650,7 +650,15 @@
   
           try{
   
  -            method = executeRequest(elt.getChild("request"));
  +            try {
  +                method = executeRequest(elt.getChild("request"));
  +            } catch (Exception e) {
  +                if (method != null) {
  +                    xmlresult.writeElement("method", method.getName());
  +                    xmlresult.writeElement("url", 
URLUtil.URLEncode(method.getPath(),"UTF-8"));
  +                    throw e;
  +                }
  +            }
   
               if (method == null){
                   System.out.println("#########################");
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to