Coverage Report - com.smartwerkz.jupload.classic.config.params.ParameterException
 
Classes in this File Line Coverage Branch Coverage Complexity
ParameterException
0% 
N/A 
1
 
 1  
 package com.smartwerkz.jupload.classic.config.params;
 2  
 
 3  
 import com.smartwerkz.jupload.classic.config.Messages;
 4  
 
 5  
 /**
 6  
  * @author Dominik Seifert
 7  
  * @since Jan 27, 2006, 6:59:49 PM
 8  
  */
 9  
 public class ParameterException extends Exception {
 10  
         /**
 11  
          * 
 12  
          */
 13  
         private static final long serialVersionUID = 1L;
 14  0
         public final Parameter param;
 15  0
 
 16  
         public ParameterException(Parameter p) {
 17  0
                 this(p, "");
 18  0
         }
 19  0
 
 20  
         public ParameterException(Parameter p, String msg, ParameterException e, Object param) {
 21  0
                 this(p, Messages.get(msg, new Object[] { param, e.getMessage() } ));
 22  0
         }
 23  0
 
 24  0
         public ParameterException(Parameter p, String msg) {
 25  0
                 super(msg);
 26  0
                 param = p;
 27  0
         }
 28  
 }