public class ErrorRenderer extends AbstractRenderer
Block fails for some reason this renderer should be used to present the error.| Modifier and Type | Class and Description |
|---|---|
static class |
ErrorRenderer.Error |
Renderer.Type| Modifier and Type | Field and Description |
|---|---|
protected ErrorRenderer.Error |
error |
protected static int |
MAX_CAUSES |
protected String |
url |
type| Constructor and Description |
|---|
ErrorRenderer(Renderer.Type t,
Block parent,
String u,
int status,
String m) |
ErrorRenderer(Renderer.Type t,
Block parent,
String u,
int status,
Throwable e) |
| Modifier and Type | Method and Description |
|---|---|
Parameter<?>[] |
getParameters()
A renderer may need certain parameters.
|
URI |
getUri()
An URI which may identify the implementation of this Renderer.
|
void |
render(Parameters blockParameters,
Writer w,
RenderHints hints)
Renders to a writer.
|
String |
toString() |
decorateIntro, decorateOutro, getBlock, getType, getUriprotected final ErrorRenderer.Error error
protected final String url
protected static int MAX_CAUSES
public ErrorRenderer(Renderer.Type t, Block parent, String u, int status, String m)
public ErrorRenderer(Renderer.Type t, Block parent, String u, int status, Throwable e)
public Parameter<?>[] getParameters()
RenderergetParameters in interface RenderergetParameters in class AbstractRendererpublic void render(Parameters blockParameters, Writer w, RenderHints hints) throws FrameworkException
Rendererrender in interface Rendererrender in class AbstractRendererFrameworkExceptionMMBase 1.9-SNAPSHOT - ${javadoctimestamp}