Package com.fizzed.rocker
Class RenderingException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.fizzed.rocker.RenderingException
-
- All Implemented Interfaces:
java.io.Serializable
public class RenderingException extends java.lang.RuntimeExceptionRuntime exception while rendering a RockerTemplate. If generated while executing a template -- then the source info (line and position in line) of the original source template will be populated.- Author:
- joelauer
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RenderingException(int sourceLine, int sourcePosInLine, java.lang.String templateName, java.lang.String templatePath, java.lang.String message, java.lang.Throwable cause)RenderingException(int sourceLine, int sourcePosInLine, java.lang.String message, java.lang.Throwable cause)RenderingException(java.lang.String message)RenderingException(java.lang.String message, java.lang.Throwable cause)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetSourceLine()intgetSourcePosInLine()java.lang.StringgetTemplateName()java.lang.StringgetTemplatePath()booleanhasSourceInfo()
-
-
-
Constructor Detail
-
RenderingException
public RenderingException(java.lang.String message)
-
RenderingException
public RenderingException(java.lang.String message, java.lang.Throwable cause)
-
RenderingException
public RenderingException(int sourceLine, int sourcePosInLine, java.lang.String message, java.lang.Throwable cause)
-
RenderingException
public RenderingException(int sourceLine, int sourcePosInLine, java.lang.String templateName, java.lang.String templatePath, java.lang.String message, java.lang.Throwable cause)
-
-