Coverage Report - pt.digitalis.dif.controller.objects.ExceptionHandlerData
 
Classes in this File Line Coverage Branch Coverage Complexity
ExceptionHandlerData
0%
0/11
N/A
1
 
 1  0
 /**
 2  
  * 2010, Digitalis Informatica. All rights reserved. Distribuicao e Gestao de Informatica, Lda. Estrada de Paco de Arcos
 3  
  * num.9 - Piso -1 2780-666 Paco de Arcos Telefone: (351) 21 4408990 Fax: (351) 21 4408999 http://www.digitalis.pt
 4  
  */
 5  
 
 6  
 package pt.digitalis.dif.controller.objects;
 7  
 
 8  
 /**
 9  
  * Defines a DiF exception handler
 10  
  * 
 11  
  * @author Pedro Viegas <a href="mailto:pviegas@digitalis.pt">pviegas@digitalis.pt</a><br/>
 12  
  * @created 2010/05/04
 13  
  */
 14  
 public class ExceptionHandlerData {
 15  
 
 16  
     /** the exception class */
 17  
     private Class<Throwable> exceptionClass;
 18  
 
 19  
     /** The handler stage ID */
 20  
     private String handlerStageID;
 21  
 
 22  
     /**
 23  
      * @param exceptionClass
 24  
      * @param handlerStageID
 25  
      */
 26  0
     public ExceptionHandlerData(Class<Throwable> exceptionClass, String handlerStageID)
 27  
     {
 28  0
         this.exceptionClass = exceptionClass;
 29  0
         this.handlerStageID = handlerStageID;
 30  0
     }
 31  
 
 32  
     /**
 33  
      * Inspector for the 'exceptionClass' attribute.
 34  
      * 
 35  
      * @return the exceptionClass value
 36  
      */
 37  
     public Class<Throwable> getExceptionClass()
 38  
     {
 39  0
         return exceptionClass;
 40  
     }
 41  
 
 42  
     /**
 43  
      * Inspector for the 'handlerStageID' attribute.
 44  
      * 
 45  
      * @return the handlerStageID value
 46  
      */
 47  
     public String getHandlerStageID()
 48  
     {
 49  0
         return handlerStageID;
 50  
     }
 51  
 
 52  
     /**
 53  
      * Modifier for the 'exceptionClass' attribute.
 54  
      * 
 55  
      * @param exceptionClass
 56  
      *            the new exceptionClass value to set
 57  
      */
 58  
     public void setExceptionClass(Class<Throwable> exceptionClass)
 59  
     {
 60  0
         this.exceptionClass = exceptionClass;
 61  0
     }
 62  
 
 63  
     /**
 64  
      * Modifier for the 'handlerStageID' attribute.
 65  
      * 
 66  
      * @param handlerStageID
 67  
      *            the new handlerStageID value to set
 68  
      */
 69  
     public void setHandlerStageID(String handlerStageID)
 70  
     {
 71  0
         this.handlerStageID = handlerStageID;
 72  0
     }
 73  
 }