1 package annotations.io.classfile; 2 3 /*>>> 4 import org.checkerframework.checker.nullness.qual.*; 5 */ 6 7 /** 8 * An <code>InvalidTypeAnnotationException </code> indicates that an 9 * extended annotation was created with invalid information. For example, 10 * an extended annotation on a local variable should not contain offset 11 * information. 12 */ 13 public class InvalidTypeAnnotationException extends RuntimeException { 14 static final long serialVersionUID = 20060712L; // Today's date. 15 16 /** 17 * Constructs a new <code> InvalidTypeAnnotationException </code> with 18 * the given error message. 19 * 20 * @param msg a message describing what was wrong with the extended annotation 21 */ 22 public InvalidTypeAnnotationException(String msg) { 23 super(msg); 24 } 25 } 26