Class TemplateException

java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.aspectran.core.component.template.TemplateException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
TemplateNotFoundException, TemplateRenderingException

public class TemplateException extends RuntimeException
This class is the basic exception that gets thrown from the template package.

Created: 2016. 01. 15.

See Also:
  • Constructor Details

    • TemplateException

      public TemplateException()
      Creates a new TemplateException without detail message.
    • TemplateException

      public TemplateException(String msg)
      Constructs a TemplateException with the specified detail message.
      Parameters:
      msg - a message to associate with the exception
    • TemplateException

      public TemplateException(Throwable cause)
      Constructor to create exception to wrap another exception.
      Parameters:
      cause - the real cause of the exception
    • TemplateException

      public TemplateException(String msg, Throwable cause)
      Constructs a TemplateException with the specified error message and also the specified root cause exception. The root cause exception is generally for TypeConversionException's root cause or something that might have caused a TemplateException.
      Parameters:
      msg - the detail message
      cause - the real cause of the exception