jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1210660 - /jmeter/trunk/src/core/org/apache/jmeter/testbeans/gui/TestBeanGUI.java
Date Mon, 05 Dec 2011 21:54:47 GMT
Author: pmouawad
Date: Mon Dec  5 21:54:47 2011
New Revision: 1210660

URL: http://svn.apache.org/viewvc?rev=1210660&view=rev
Log:
Fix error handling

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/testbeans/gui/TestBeanGUI.java

Modified: jmeter/trunk/src/core/org/apache/jmeter/testbeans/gui/TestBeanGUI.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/testbeans/gui/TestBeanGUI.java?rev=1210660&r1=1210659&r2=1210660&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/testbeans/gui/TestBeanGUI.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/testbeans/gui/TestBeanGUI.java Mon Dec  5 21:54:47
2011
@@ -478,8 +478,7 @@ public class TestBeanGUI extends Abstrac
             setupGuiClasses();
         } catch (IntrospectionException e) {
             log.error("Can't get beanInfo for " + testBeanClass.getName(), e);
-            throw new Error(e.toString()); // Programming error. Don't
-                                            // continue.
+            JMeterUtils.reportErrorToUser("Can't get beanInfo for " + testBeanClass.getName());
         }
 	}
 }



Mime
View raw message