185 |
|
// -1.0 means we don't use an alert level |
186 |
|
double threshold = -1.0; |
187 |
|
try { |
188 |
< |
String thresholdString = getThresholdConfig(level, _attributeName); |
188 |
> |
String thresholdString = ""; |
189 |
> |
try { |
190 |
> |
thresholdString = getThresholdConfig(level, _attributeName); |
191 |
> |
} catch (PropertyNotFoundException e) { |
192 |
> |
thresholdString = getThresholdConfig(level, null); |
193 |
> |
} |
194 |
|
threshold = Double.parseDouble(thresholdString); |
195 |
|
} catch (PropertyNotFoundException e) { |
196 |
|
threshold = -1.0; |