public class RenderException extends Exception
This contains the render stack (a stacktrace for templates) next to the original error and exception type as message.
Modifier and Type | Method and Description |
---|---|
static RenderException |
create(LocalRenderContext context,
Exception ex)
Creates a new error for the given context and root exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public static RenderException create(LocalRenderContext context, Exception ex)
context
- the context used to determine the render stackex
- the root exceptionCopyright © 2018. All rights reserved.