View Javadoc
1   package org.csveed.bean.conversion;
2   
3   public abstract class ConversionException extends Exception {
4   
5       private static final long serialVersionUID = 1L;
6   
7       private String typeDescription;
8   
9       public ConversionException(String message, Class clazz) {
10          this(message, clazz.getName(), null);
11      }
12  
13      public ConversionException(String message, String typeDescription, Throwable exception) {
14          super(message, exception);
15          this.typeDescription = typeDescription;
16      }
17  
18      public String getTypeDescription() {
19          return typeDescription;
20      }
21  }