sebb        2004/01/14 18:01:07

  Modified:    src/core/org/apache/jmeter/testbeans TestBean.java
  Log:
  Make compatible with JDK1.3
  
  Revision  Changes    Path
  1.3       +5 -5      
jakarta-jmeter/src/core/org/apache/jmeter/testbeans/TestBean.java
  
  Index: TestBean.java
  ===================================================================
  RCS file: 
/home/cvs/jakarta-jmeter/src/core/org/apache/jmeter/testbeans/TestBean.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- TestBean.java     14 Jan 2004 23:10:30 -0000      1.2
  +++ TestBean.java     15 Jan 2004 02:01:07 -0000      1.3
  @@ -123,7 +123,7 @@
               {
                   log.error("Can't get beanInfo for "+this.getClass().getName(),
                       e);
  -                throw new Error(e); // Programming error. Don't continue.
  +                throw new Error(e.toString()); // Programming error. Don't continue.
               }
           }
       }
  @@ -177,17 +177,17 @@
                catch (IllegalArgumentException e)
                {
                        log.error("This should never happen.", e);
  -                     throw new Error(e); // Programming error: bail out.
  +                     throw new Error(e.toString()); // Programming error: bail out.
                }
                catch (IllegalAccessException e)
                {
                        log.error("This should never happen.", e);
  -                     throw new Error(e); // Programming error: bail out.
  +                     throw new Error(e.toString()); // Programming error: bail out.
                }
                catch (InvocationTargetException e)
                {
                        log.error("This should never happen.", e);
  -                     throw new Error(e); // Programming error: bail out.
  +                     throw new Error(e.toString()); // Programming error: bail out.
                }
        }
   
  
  
  

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

Reply via email to