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
.- Since:
- 1.0.0
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Exception indicates that data model was not provided.static class
Exception indicates that template engine wasn't found.static class
Exception indicates that rendering process failure.static class
Exception indicates that an error occur during the initialization of the template engine. -
Constructor Summary
ConstructorsModifierConstructorDescriptionprotected
TemplateException
(String message) Build a new instance.protected
TemplateException
(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- Since:
- 1.0.0
-
TemplateException
Build a new instance.- Parameters:
message
- The detail message- Since:
- 1.0.0
-