Class TemplateException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
dev.voidframework.template.exception.TemplateException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
TemplateException.DataModelNotProvided,TemplateException.NoTemplateEngine,TemplateException.RenderingFailure,TemplateException.TemplateEngineInitFailure
All exceptions related to template rendering errors are subclasses of
TemplateException.- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classException indicates that data model was not provided.static classException indicates that template engine wasn't found.static classException indicates that rendering process failure.static classException indicates that an error occur during the initialization of the template engine. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedTemplateException(String message) Build a new instance.protectedTemplateException(String message, Throwable cause) Build a new instance. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TemplateException
Build a new instance.- Parameters:
message- The detail messagecause- The root cause
-
TemplateException
Build a new instance.- Parameters:
message- The detail message
-