aboutsummaryrefslogtreecommitdiffstats
path: root/src/com/itmill/toolkit/terminal/SystemError.java
diff options
context:
space:
mode:
authorMatti Tahvonen <matti.tahvonen@itmill.com>2007-09-11 11:37:49 +0000
committerMatti Tahvonen <matti.tahvonen@itmill.com>2007-09-11 11:37:49 +0000
commitd3b7261f6c971f4db024730c712325d477da1c4b (patch)
tree6cb9f30a75a50101812d41f9236648f89f064e22 /src/com/itmill/toolkit/terminal/SystemError.java
parent132b9dabe885a515ad68a714d1fad16a36b50eda (diff)
downloadvaadin-framework-d3b7261f6c971f4db024730c712325d477da1c4b.tar.gz
vaadin-framework-d3b7261f6c971f4db024730c712325d477da1c4b.zip
cleaning system error message
svn changeset:2274/svn branch:trunk
Diffstat (limited to 'src/com/itmill/toolkit/terminal/SystemError.java')
-rw-r--r--src/com/itmill/toolkit/terminal/SystemError.java7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/com/itmill/toolkit/terminal/SystemError.java b/src/com/itmill/toolkit/terminal/SystemError.java
index 1e3f9fa8a9..90c045c18c 100644
--- a/src/com/itmill/toolkit/terminal/SystemError.java
+++ b/src/com/itmill/toolkit/terminal/SystemError.java
@@ -106,15 +106,12 @@ public class SystemError extends RuntimeException implements ErrorMessage {
// Paint the error message
String message = getLocalizedMessage();
if (message != null) {
- target.addSection("b", message);
+ target.addSection("h2", message);
}
// Paint the exception
if (cause != null) {
- if (message != null)
- target.addUIDL("<br/><br/>");
- target.addSection("b", "Exception");
- target.addUIDL("<br/><br/>");
+ target.addSection("h3", "Exception");
StringWriter buffer = new StringWriter();
cause.printStackTrace(new PrintWriter(buffer));
target.addSection("pre", buffer.toString());