1 /** 2008, Digitalis Informatica. All rights reserved. 2 * 3 * Distribuicao e Gestao de Informatica, Lda. 4 * Estrada de Paco de Arcos num.9 - Piso -1 5 * 2780-666 Paco de Arcos 6 * Telefone: (351) 21 4408990 7 * Fax: (351) 21 4408999 8 * http://www.digitalis.pt 9 */ 10 11 package pt.digitalis.dif.exception.codegen; 12 13 import java.util.Map; 14 15 /** 16 * @author Rodrigo Gonçalves <a 17 * href="mailto:rgoncalves@digitalis.pt">rgoncalves@digitalis.pt</a><br/> 18 * @created 2008/11/26 19 */ 20 public class IllegalAnnotationUsage extends AnnotationMisuseException { 21 22 /** The UID. */ 23 private static final long serialVersionUID = 1L; 24 25 /** 26 * Constructs a new IllegalAnnotationUsage from a reason, an exception and an exception context. 27 * 28 * @param reason 29 * the exception reason. 30 * @param exception 31 * the exception to encapsulate. 32 * @param exceptionContext 33 * the exception context. 34 */ 35 public IllegalAnnotationUsage(String reason, Exception exception, Map<String, Object> exceptionContext) { 36 super(reason, exception, exceptionContext); 37 38 } 39 40 /** 41 * Constructs a new IllegalAnnotationUsage from a reason, an exception and an exception context. 42 * 43 * @param reason 44 * the exception reason. 45 * @param exceptionContext 46 * the exception context. 47 */ 48 public IllegalAnnotationUsage(String reason, Map<String, Object> exceptionContext) { 49 super(reason, exceptionContext); 50 51 } 52 53 }