From d3b7261f6c971f4db024730c712325d477da1c4b Mon Sep 17 00:00:00 2001 From: Matti Tahvonen Date: Tue, 11 Sep 2007 11:37:49 +0000 Subject: [PATCH] cleaning system error message svn changeset:2274/svn branch:trunk --- src/com/itmill/toolkit/terminal/SystemError.java | 7 ++----- 1 file 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("

"); - target.addSection("b", "Exception"); - target.addUIDL("

"); + target.addSection("h3", "Exception"); StringWriter buffer = new StringWriter(); cause.printStackTrace(new PrintWriter(buffer)); target.addSection("pre", buffer.toString()); -- 2.39.5