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

public class TemplateException extends RuntimeException
All exceptions related to template rendering errors are subclasses of TemplateException.
Since:
1.0.0
See Also:
  • Constructor Details

    • TemplateException

      protected TemplateException(String message, Throwable cause)
      Build a new instance.
      Parameters:
      message - The detail message
      cause - The root cause
      Since:
      1.0.0
    • TemplateException

      protected TemplateException(String message)
      Build a new instance.
      Parameters:
      message - The detail message
      Since:
      1.0.0