public final class InvalidAnnotatedType extends AnnotationProcessingException
Timestamp).| Constructor and Description |
|---|
InvalidAnnotatedType(Member member,
Class<?> expectedType)
Constructs a new exception for the specified class member and type.
|
InvalidAnnotatedType(Member member,
Collection<Class<?>> expectedTypes)
Constructs a new exception for the specified class member and types.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic InvalidAnnotatedType(Member member, Class<?> expectedType)
member - the class member with the wrong typeexpectedType - the type that the annotation is valid forpublic InvalidAnnotatedType(Member member, Collection<Class<?>> expectedTypes)
member - the class member with the wrong typeexpectedTypes - the types that the annotation is valid forCopyright © 2020. All rights reserved.