sebb        2004/10/08 15:44:41

  Modified:    src/components/org/apache/jmeter/assertions Tag: rel-2_0
                        BeanShellAssertion.java
               src/protocol/java/org/apache/jmeter/protocol/java/sampler
                        Tag: rel-2_0 BeanShellSampler.java
  Log:
  Forgot to catch evaluation errors
  
  Revision  Changes    Path
  No                   revision
  No                   revision
  1.3.2.3   +4 -2      
jakarta-jmeter/src/components/org/apache/jmeter/assertions/BeanShellAssertion.java
  
  Index: BeanShellAssertion.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-jmeter/src/components/org/apache/jmeter/assertions/BeanShellAssertion.java,v
  retrieving revision 1.3.2.2
  retrieving revision 1.3.2.3
  diff -u -r1.3.2.2 -r1.3.2.3
  --- BeanShellAssertion.java   8 Oct 2004 22:38:35 -0000       1.3.2.2
  +++ BeanShellAssertion.java   8 Oct 2004 22:44:41 -0000       1.3.2.3
  @@ -68,6 +68,8 @@
                                        log.warn("Error processing init file "+init+" 
"+e);
                                }
                        }
  +             } catch (Exception e){
  +                     log.warn("Error setting log object "+e);
                } catch (NoClassDefFoundError e){
                        bshInterpreter=null;
                }
  
  
  
  No                   revision
  No                   revision
  1.6.2.3   +4 -2      
jakarta-jmeter/src/protocol/java/org/apache/jmeter/protocol/java/sampler/BeanShellSampler.java
  
  Index: BeanShellSampler.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-jmeter/src/protocol/java/org/apache/jmeter/protocol/java/sampler/BeanShellSampler.java,v
  retrieving revision 1.6.2.2
  retrieving revision 1.6.2.3
  diff -u -r1.6.2.2 -r1.6.2.3
  --- BeanShellSampler.java     8 Oct 2004 22:37:39 -0000       1.6.2.2
  +++ BeanShellSampler.java     8 Oct 2004 22:44:41 -0000       1.6.2.3
  @@ -66,6 +66,8 @@
                                        log.warn("Error processing init file "+init+" 
"+e);
                                }
                        }
  +             } catch (Exception e){
  +                     log.warn("Error setting log object "+e);
                } catch (NoClassDefFoundError e){
                        bshInterpreter=null;
                }
  
  
  

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

Reply via email to