public class AnnotationNotRuntimeException extends ReflectionException
AnnotationNotRuntimeException is thrown if an Annotation should be
resolved at runtime but has NOT the Retention
RetentionPolicy.RUNTIME.AnnotationUtil.isRuntimeAnnotation(Class),
AnnotationUtil.getTypeAnnotation(Class, Class),
Serialized Form| Modifier and Type | Field and Description |
|---|---|
static String |
MESSAGE_CODE |
private static long |
serialVersionUID |
KEY_ACCESSIBLE| Constructor and Description |
|---|
AnnotationNotRuntimeException(Class<? extends Annotation> annotation)
The constructor.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCode() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringclone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitgetMessageprivate static final long serialVersionUID
public static final String MESSAGE_CODE
getCode(),
Constant Field Valuespublic AnnotationNotRuntimeException(Class<? extends Annotation> annotation)
annotation - is the Class reflecting the Annotation.public String getCode()
Copyright © 2001–2019 mmm-Team. All rights reserved.