001package net.gdface.codegen.generic; 002 003import net.gdface.annotation.AnnotationException; 004 005public class GenericNameConflictException extends AnnotationException { 006 007 /** 008 * 009 */ 010 private static final long serialVersionUID = 1718821946215952542L; 011 012 public GenericNameConflictException(String name, String annotationName, String annotationValue) { 013 super( 014 String.format( 015 "the generic Type name [%s] conflict with annotation %s defined in soure or default %s,\nmodify the name to fix the problem", 016 name, annotationName, annotationValue)); 017 } 018}