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:
Serializable
Runtime 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.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionRenderingException(int sourceLine, int sourcePosInLine, String templateName, String templatePath, String message, Throwable cause) RenderingException(int sourceLine, int sourcePosInLine, String message, Throwable cause) RenderingException(String message) RenderingException(String message, Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
sourceLine
private final int sourceLine -
sourcePosInLine
private final int sourcePosInLine -
templateName
-
templatePath
-
-
Constructor Details
-
RenderingException
-
RenderingException
-
RenderingException
-
RenderingException
-
-
Method Details
-
buildMessage
-
getSourceLine
public int getSourceLine() -
getSourcePosInLine
public int getSourcePosInLine() -
hasSourceInfo
public boolean hasSourceInfo() -
getTemplateName
-
getTemplatePath
-