Class TemplateException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.aspectran.core.component.template.TemplateException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
TemplateNotFoundException
,TemplateRenderingException
public class TemplateException extends java.lang.RuntimeException
This class is the basic exception that gets thrown from the template package.Created: 2016. 01. 15.
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TemplateException()
Creates a new TemplateException without detail message.TemplateException(java.lang.String msg)
Constructs a TemplateException with the specified detail message.TemplateException(java.lang.String msg, java.lang.Throwable cause)
Constructs a TemplateException with the specified error message and also the specified root cause exception.TemplateException(java.lang.Throwable cause)
Constructor to create exception to wrap another exception.
-
-
-
Constructor Detail
-
TemplateException
public TemplateException()
Creates a new TemplateException without detail message.
-
TemplateException
public TemplateException(java.lang.String msg)
Constructs a TemplateException with the specified detail message.- Parameters:
msg
- a message to associate with the exception
-
TemplateException
public TemplateException(java.lang.Throwable cause)
Constructor to create exception to wrap another exception.- Parameters:
cause
- the real cause of the exception
-
TemplateException
public TemplateException(java.lang.String msg, java.lang.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 messagecause
- the real cause of the exception
-
-