Package com.jk.core.templates
Class JKTemplateProcessingException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.jk.core.exceptions.JKException
com.jk.core.templates.JKTemplateException
com.jk.core.templates.JKTemplateProcessingException
- All Implemented Interfaces:
Serializable
This class represents exceptions thrown to indicate that an error occurred
while processing the template within the application.
This exception is a subclass of JKTemplateException.
- Version:
- 1.0
- Author:
- Dr. Jalal H. Kiswani
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionThis method constructs a newJKTemplateProcessingExceptionwithout any specified errors or causes.JKTemplateProcessingException(String message) This method constructs aJKTemplateProcessingExceptionwith a specific error message.JKTemplateProcessingException(String message, Throwable cause) This method constructs aJKTemplateProcessingExceptionwith a specific error message and a cause.JKTemplateProcessingException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) This method constructs aJKTemplateProcessingExceptionwith a specific error message, cause, suppression behavior, and stack trace writability.This method constructs aJKTemplateProcessingExceptionwith a cause. -
Method Summary
Methods inherited from class com.jk.core.exceptions.JKException
isLogged, setLoggedMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
JKTemplateProcessingException
public JKTemplateProcessingException()This method constructs a newJKTemplateProcessingExceptionwithout any specified errors or causes.This constructor is typically used when the exception is thrown to represent a specific error condition without additional details.
-
JKTemplateProcessingException
public JKTemplateProcessingException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace) This method constructs aJKTemplateProcessingExceptionwith 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.
-
JKTemplateProcessingException
This method constructs aJKTemplateProcessingExceptionwith 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.
-
JKTemplateProcessingException
This method constructs aJKTemplateProcessingExceptionwith a specific error message.- Parameters:
message- Specifies the error message explaining the reason for this exception.
-
JKTemplateProcessingException
This method constructs aJKTemplateProcessingExceptionwith a cause.- Parameters:
cause- Specifies the cause of this exception.
-