com.groiss.gui
Class DefaultErrorFormatter

java.lang.Object
  extended by com.groiss.gui.DefaultErrorFormatter
All Implemented Interfaces:
ErrorFormatter

public class DefaultErrorFormatter
extends java.lang.Object
implements ErrorFormatter

This class is responsible for showing the error page.


Field Summary
protected  HTMLPage page
           
 
Constructor Summary
DefaultErrorFormatter()
           
 
Method Summary
 boolean canShowDetails()
           
 void fillInDetails(java.lang.Throwable e)
           
 Page format(java.lang.Throwable e)
          Returns the page which is sent to the browser, containing the error message.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

page

protected HTMLPage page
Constructor Detail

DefaultErrorFormatter

public DefaultErrorFormatter()
Method Detail

format

public Page format(java.lang.Throwable e)
Description copied from interface: ErrorFormatter
Returns the page which is sent to the browser, containing the error message.

Specified by:
format in interface ErrorFormatter
Returns:
the page, for example an HTMLPage object.

fillInDetails

public void fillInDetails(java.lang.Throwable e)

canShowDetails

public boolean canShowDetails()


@enterprise 8.0.22989 Copyright © 2001-2017 Groiss Informatics GmbH. All Rights Reserved.