perfsonar-dev - perfsonar: r2764 - branches/perfsonarui/src/org/perfsonar/perfsonarui/ma/ui/panels
Subject: perfsonar development work
List archive
perfsonar: r2764 - branches/perfsonarui/src/org/perfsonar/perfsonarui/ma/ui/panels
Chronological Thread
- From:
- To:
- Subject: perfsonar: r2764 - branches/perfsonarui/src/org/perfsonar/perfsonarui/ma/ui/panels
- Date: Tue, 4 Sep 2007 08:02:04 -0400
Author: nina
Date: 2007-09-04 08:02:03 -0400 (Tue, 04 Sep 2007)
New Revision: 2764
Modified:
branches/perfsonarui/src/org/perfsonar/perfsonarui/ma/ui/panels/RadarChartPanel.java
Log:
generateToolTip throws exceptions sometimes, try/catch added
Modified:
branches/perfsonarui/src/org/perfsonar/perfsonarui/ma/ui/panels/RadarChartPanel.java
===================================================================
---
branches/perfsonarui/src/org/perfsonar/perfsonarui/ma/ui/panels/RadarChartPanel.java
2007-09-04 11:57:15 UTC (rev 2763)
+++
branches/perfsonarui/src/org/perfsonar/perfsonarui/ma/ui/panels/RadarChartPanel.java
2007-09-04 12:02:03 UTC (rev 2764)
@@ -126,8 +126,12 @@
}
@Override
public String generateToolTip(CategoryDataset arg0, int arg1,
int arg2) {
+ try {
if (arg0 == null) return "";
else return super.generateToolTip(arg0, arg1, arg2);
+ } catch (Exception x) {
+ return "";
+ }
}
});
newPlot.setURLGenerator(new StandardCategoryURLGenerator(){
- perfsonar: r2764 - branches/perfsonarui/src/org/perfsonar/perfsonarui/ma/ui/panels, svnlog, 09/04/2007
Archive powered by MHonArc 2.6.16.