Class TemplateException.RenderingFailure
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
dev.voidframework.template.exception.TemplateException
dev.voidframework.template.exception.TemplateException.RenderingFailure
- All Implemented Interfaces:
Serializable
- Enclosing class:
- TemplateException
Exception indicates that rendering process failure.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class dev.voidframework.template.exception.TemplateException
TemplateException.DataModelNotProvided, TemplateException.NoTemplateEngine, TemplateException.RenderingFailure, TemplateException.TemplateEngineInitFailure -
Constructor Summary
ConstructorsConstructorDescriptionRenderingFailure(String templateName, int lineNumber, Throwable cause) Build a new instance. -
Method Summary
Modifier and TypeMethodDescriptionintGets the line number.Gets the template name.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
RenderingFailure
Build a new instance.- Parameters:
templateName- The template namelineNumber- The line where the error occurcause- The cause
-
-
Method Details
-
getTemplateName
Gets the template name.- Returns:
- The template name
-
getLineNumber
public int getLineNumber()Gets the line number.- Returns:
- The line number
-