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(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(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–2014 Magnolia International Ltd.. All rights reserved.