public class ModeDependentRenderExceptionHandler extends Object implements RenderExceptionHandler
Modifier and Type | Field and Description |
---|---|
static String |
RENDER_ERROR_MESSAGE_BEGIN |
static String |
RENDER_ERROR_MESSAGE_END |
Constructor and Description |
---|
ModeDependentRenderExceptionHandler(info.magnolia.cms.beans.config.ServerConfiguration config) |
Modifier and Type | Method and Description |
---|---|
void |
handleException(RenderException renderException,
RenderingContext renderingContext) |
protected void |
inEditMode(String msg,
RenderException renderException,
PrintWriter out) |
protected void |
inPublicMode(String msg,
RenderException renderException,
PrintWriter out) |
public static final String RENDER_ERROR_MESSAGE_BEGIN
public static final String RENDER_ERROR_MESSAGE_END
@Inject public ModeDependentRenderExceptionHandler(info.magnolia.cms.beans.config.ServerConfiguration config)
public void handleException(RenderException renderException, RenderingContext renderingContext)
handleException
in interface RenderExceptionHandler
protected void inPublicMode(String msg, RenderException renderException, PrintWriter out)
protected void inEditMode(String msg, RenderException renderException, PrintWriter out)
Copyright © 2003–2015 Magnolia International Ltd.. All rights reserved.