diff options
Diffstat (limited to 'src/com/itmill/toolkit/terminal/SystemError.java')
-rw-r--r-- | src/com/itmill/toolkit/terminal/SystemError.java | 7 |
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()); |