Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcbateman2007-04-10 19:23:46 +0000
committercbateman2007-04-10 19:23:46 +0000
commit763492ca8b1cfdbbb61660efcf0421dd9e90607d (patch)
treea078ebc87addbeeec662ff0f668993266ebfe522 /jsf/plugins/org.eclipse.jst.pagedesigner/src/org/eclipse/jst/pagedesigner/converter
parent07fef02d6c12c3847e217bff90e7dd57138acfee (diff)
downloadwebtools.jsf-763492ca8b1cfdbbb61660efcf0421dd9e90607d.tar.gz
webtools.jsf-763492ca8b1cfdbbb61660efcf0421dd9e90607d.tar.xz
webtools.jsf-763492ca8b1cfdbbb61660efcf0421dd9e90607d.zip
Move to Java 5.
Removed some internal deps. Removed a catch(Throwable).
Diffstat (limited to 'jsf/plugins/org.eclipse.jst.pagedesigner/src/org/eclipse/jst/pagedesigner/converter')
-rw-r--r--jsf/plugins/org.eclipse.jst.pagedesigner/src/org/eclipse/jst/pagedesigner/converter/HTMLStringTagConverter.java6
1 files changed, 5 insertions, 1 deletions
diff --git a/jsf/plugins/org.eclipse.jst.pagedesigner/src/org/eclipse/jst/pagedesigner/converter/HTMLStringTagConverter.java b/jsf/plugins/org.eclipse.jst.pagedesigner/src/org/eclipse/jst/pagedesigner/converter/HTMLStringTagConverter.java
index 492fcbb02..1b03c055a 100644
--- a/jsf/plugins/org.eclipse.jst.pagedesigner/src/org/eclipse/jst/pagedesigner/converter/HTMLStringTagConverter.java
+++ b/jsf/plugins/org.eclipse.jst.pagedesigner/src/org/eclipse/jst/pagedesigner/converter/HTMLStringTagConverter.java
@@ -75,7 +75,7 @@ public abstract class HTMLStringTagConverter extends AbstractTagConverter {
getDestDocument(), root);
model.releaseFromRead();
return resultEle;
- } catch (Throwable ex) {
+ } catch (Exception ex) {
_log.error("Log.Error.HTMLStringTagConverter.Error", ex);
Element temp = createElement("div");
temp.appendChild(createText("Error loading: " + ex.getMessage()));
@@ -85,6 +85,10 @@ public abstract class HTMLStringTagConverter extends AbstractTagConverter {
}
}
+ /**
+ * @return the generated HTML string
+ * @throws Exception
+ */
public abstract String getGeneratedHTML() throws Exception;
/*

Back to the top