Class TemplateRuleException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.aspectran.core.context.AspectranRuntimeException
-
- com.aspectran.core.component.template.TemplateException
-
- com.aspectran.core.component.template.TemplateRuleException
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
TemplateProcessorException
public class TemplateRuleException extends TemplateException
The Class TemplateRuleException.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description TemplateRuleException(java.lang.String msg, TemplateRule templateRule)
Instantiates a new TemplateRuleException.TemplateRuleException(java.lang.String msg, TemplateRule templateRule, java.lang.Throwable cause)
Instantiates a new TemplateRuleException.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description TemplateRule
getTemplateRule()
Gets bean rule.
-
-
-
Constructor Detail
-
TemplateRuleException
public TemplateRuleException(java.lang.String msg, TemplateRule templateRule)
Instantiates a new TemplateRuleException.- Parameters:
msg
- the detail messagetemplateRule
- the template rule
-
TemplateRuleException
public TemplateRuleException(java.lang.String msg, TemplateRule templateRule, java.lang.Throwable cause)
Instantiates a new TemplateRuleException.- Parameters:
msg
- the detail messagetemplateRule
- the template rulecause
- the root cause
-
-
Method Detail
-
getTemplateRule
public TemplateRule getTemplateRule()
Gets bean rule.- Returns:
- the template rule
-
-