Class JKTemplateException

All Implemented Interfaces:
Serializable
Direct Known Subclasses:
JKTemplateProcessingException

public class JKTemplateException extends JKException
This class represents exceptions thrown to indicate that an error occurred while working with the template within the application.

This exception is a subclass of JKException.

Version:
1.0
Author:
Dr. Jalal H. Kiswani
See Also:
  • Constructor Details

    • JKTemplateException

      public JKTemplateException()
      This method constructs a new JKTemplateException without any specified errors or causes.

      This constructor is typically used when the exception is thrown to represent a specific error condition without additional details.

    • JKTemplateException

      public JKTemplateException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace)
      This method constructs a JKTemplateException with a specific error message, cause, suppression behavior, and stack trace writability.
      Parameters:
      message - Specifies the error message explaining the reason for this exception.
      cause - Specifies the cause of this exception.
      enableSuppression - Specifies whether suppression is enabled or disabled.
      writableStackTrace - Specifies whether the stack trace should be writable.
    • JKTemplateException

      public JKTemplateException(String message, Throwable cause)
      This method constructs a JKTemplateException with a specific error message and a cause.
      Parameters:
      message - Specifies the error message explaining the reason for this exception.
      cause - Specifies the cause of this exception.
    • JKTemplateException

      public JKTemplateException(String message)
      This method constructs a JKTemplateException with a specific error message.
      Parameters:
      message - Specifies the error message explaining the reason for this exception.
    • JKTemplateException

      public JKTemplateException(Throwable cause)
      This method constructs a JKTemplateException with a cause.
      Parameters:
      cause - Specifies the cause of this exception.