Author: nbelaevski
Date: 2009-07-16 11:21:09 -0400 (Thu, 16 Jul 2009)
New Revision: 14941
Modified:
branches/community/3.3.X/test-applications/facelets/src/main/java/tree/Bean.java
Log:
Removed IOException caught by test application code for tree
Modified:
branches/community/3.3.X/test-applications/facelets/src/main/java/tree/Bean.java
===================================================================
---
branches/community/3.3.X/test-applications/facelets/src/main/java/tree/Bean.java 2009-07-16
13:20:08 UTC (rev 14940)
+++
branches/community/3.3.X/test-applications/facelets/src/main/java/tree/Bean.java 2009-07-16
15:21:09 UTC (rev 14941)
@@ -209,12 +209,7 @@
public String expand() {
if (expandPath != null && expandPath.length() != 0) {
- try {
- tree.queueNodeExpand(new ListRowKey(null, expandPath));
- } catch (IOException e) {
-
- e.printStackTrace();
- }
+ tree.queueNodeExpand(new ListRowKey(null, expandPath));
}
return null;
@@ -236,18 +231,13 @@
this.tree = (UITree) tree;
}
- public String collapseAll() throws IOException {
+ public String collapseAll() {
this.tree.queueCollapseAll();
return null;
}
public String expandAll() {
- try {
- this.tree.queueExpandAll();
- } catch (IOException e) {
-
- e.printStackTrace();
- }
+ this.tree.queueExpandAll();
return null;
}
@@ -314,12 +304,8 @@
public String expandNode() {
String pathToExpand = getPathToExpand();
if (pathToExpand != null && pathToExpand.trim().length() != 0) {
- try {
- ((UITree) getTree()).queueNodeExpand(new ListRowKey(null,
- pathToExpand));
- } catch (IOException e) {
- throw new FacesException(e);
- }
+ ((UITree) getTree()).queueNodeExpand(new ListRowKey(null,
+ pathToExpand));
}
return null;
Show replies by date