Class 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 Detail

      • ExceptionRule

        public ExceptionRule()
    • Method Detail

      • getExceptionThrownRuleMap

        public java.util.Map<java.lang.String,​ExceptionThrownRule> getExceptionThrownRuleMap()
      • 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