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
This class is the basic exception that gets thrown from the template package.
Created: 2016. 01. 15.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreates a new TemplateException without detail message.TemplateException
(String msg) Constructs a TemplateException with the specified detail message.TemplateException
(String msg, Throwable cause) Constructs a TemplateException with the specified error message and also the specified root cause exception.TemplateException
(Throwable cause) Constructor to create exception to wrap another exception. -
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
public TemplateException()Creates a new TemplateException without detail message. -
TemplateException
Constructs a TemplateException with the specified detail message.- Parameters:
msg
- a message to associate with the exception
-
TemplateException
Constructor to create exception to wrap another exception.- Parameters:
cause
- the real cause of the exception
-
TemplateException
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 messagecause
- the real cause of the exception
-