1 7 8 package javax.lang.model.element; 9 10 25 public class UnknownAnnotationValueException extends RuntimeException { 26 27 private static final long serialVersionUID = 269L; 28 29 private transient AnnotationValue av; 30 private transient Object parameter; 31 32 43 public UnknownAnnotationValueException(AnnotationValue av, Object p) { 44 super("Unknown annotation value: " + av); 45 this.av = av; 46 this.parameter = p; 47 } 48 49 56 public AnnotationValue getUnknownAnnotationValue() { 57 return av; 58 } 59 60 65 public Object getArgument() { 66 return parameter; 67 } 68 } 69 | Popular Tags |