Package com.aspectran.core.context.rule
Class ExceptionRule
- java.lang.Object
-
- com.aspectran.core.context.rule.ExceptionRule
-
public class ExceptionRule extends java.lang.ObjectThe Class ExceptionRule.Created: 2009. 03. 09 PM 23:48:09
-
-
Constructor Summary
Constructors Constructor Description ExceptionRule()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExceptionThrownRulegetDefaultExceptionThrownRule()java.lang.StringgetDescription()Gets the description.ExceptionThrownRulegetExceptionThrownRule(java.lang.Throwable ex)Gets the exception thrown rule as specified exception.java.util.List<ExceptionThrownRule>getExceptionThrownRuleList()java.util.Map<java.lang.String,ExceptionThrownRule>getExceptionThrownRuleMap()voidputExceptionThrownRule(ExceptionThrownRule exceptionThrownRule)Puts the exception thrown rule.voidsetDescription(java.lang.String description)Sets the description.
-
-
-
Method Detail
-
getExceptionThrownRuleList
public java.util.List<ExceptionThrownRule> getExceptionThrownRuleList()
-
getExceptionThrownRuleMap
public java.util.Map<java.lang.String,ExceptionThrownRule> getExceptionThrownRuleMap()
-
getDefaultExceptionThrownRule
public ExceptionThrownRule getDefaultExceptionThrownRule()
-
putExceptionThrownRule
public void putExceptionThrownRule(ExceptionThrownRule exceptionThrownRule)
Puts the exception thrown rule.- Parameters:
exceptionThrownRule- the exception thrown rule
-
getExceptionThrownRule
public ExceptionThrownRule getExceptionThrownRule(java.lang.Throwable ex)
Gets the exception thrown rule as specified exception.- Parameters:
ex- the exception- Returns:
- the exception thrown rule
-
getDescription
public java.lang.String getDescription()
Gets the description.- Returns:
- the description
-
setDescription
public void setDescription(java.lang.String description)
Sets the description.- Parameters:
description- the new description
-
-