Name

AnnotationFormatError

Synopsis

An error of this type indicates that a class file includes a malformed annotation.

java.lang.annotation.AnnotationFormatError

Figure 10-74. java.lang.annotation.AnnotationFormatError

public class AnnotationFormatError extends Error {
// Public Constructors
     public AnnotationFormatError(Throwable cause);  
     public AnnotationFormatError(String message);  
     public AnnotationFormatError(String message, Throwable cause);  
}

Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.