public class DefaultErrorFormatter extends Object implements ErrorFormatter
Constructor and Description |
---|
DefaultErrorFormatter() |
Modifier and Type | Method and Description |
---|---|
boolean |
canShowDetails() |
void |
fillInDetails(Throwable e,
HTMLPage page) |
Page |
format(Throwable e)
Default implementation of showing an error page.
|
JSONObject |
formatJSON(Throwable e)
Default implementation for returning a JSONObject representation of the error.
|
public Page format(Throwable e)
format
in interface ErrorFormatter
public boolean canShowDetails()
public JSONObject formatJSON(Throwable e)
formatJSON
in interface ErrorFormatter
@enterprise 10.0.39049 Copyright © 2024 FREQUENTIS AG. All Rights Reserved.