1
0
forked from GitHub/gf-core

WebUI: show error when depth/limit has invalid value

This commit is contained in:
krasimir
2010-10-13 12:53:42 +00:00
parent f4603cf9d4
commit aa6fd7b13f

View File

@@ -110,6 +110,7 @@ public class QueryPanel extends Composite {
depth = Integer.parseInt(depthBox.getText());
limit = Integer.parseInt(limitBox.getText());
} catch (NumberFormatException e) {
statusPopup.showError("Invalid depth/limit parameter", e);
return;
}