Package com.aspectran.core.context.rule
Class ExceptionRule
- java.lang.Object
-
- com.aspectran.core.context.rule.ExceptionRule
-
- All Implemented Interfaces:
java.lang.Iterable<ExceptionThrownRule>
public class ExceptionRule extends java.lang.Object implements java.lang.Iterable<ExceptionThrownRule>
The 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.Map<java.lang.String,ExceptionThrownRule>getExceptionThrownRuleMap()java.util.Iterator<ExceptionThrownRule>iterator()voidputExceptionThrownRule(ExceptionThrownRule exceptionThrownRule)Puts the exception thrown rule.voidsetDescription(java.lang.String description)Sets the description.
-
-
-
Method Detail
-
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
-
iterator
public java.util.Iterator<ExceptionThrownRule> iterator()
- Specified by:
iteratorin interfacejava.lang.Iterable<ExceptionThrownRule>
-
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
-
-