public class DefaultErrorFormatter extends java.lang.Object implements ErrorFormatter
Constructor and Description |
---|
DefaultErrorFormatter() |
Modifier and Type | Method and Description |
---|---|
boolean |
canShowDetails() |
void |
fillInDetails(java.lang.Throwable e,
HTMLPage page) |
Page |
format(java.lang.Throwable e)
Default implementation of showing an error page.
|
org.json.JSONObject |
formatJSON(java.lang.Throwable e)
Default implementation for returning a JSONObject representation of the error.
|
public Page format(java.lang.Throwable e)
format
in interface ErrorFormatter
public void fillInDetails(java.lang.Throwable e, HTMLPage page)
public boolean canShowDetails()
public org.json.JSONObject formatJSON(java.lang.Throwable e)
@enterprise 9.0.33982 Copyright © 2001-2023 Groiss Informatics GmbH. All Rights Reserved.