public class AnnotationException
extends java.lang.RuntimeException
Constructor and Description |
---|
AnnotationException(java.lang.Class<?> clazz,
java.lang.Class<? extends java.lang.annotation.Annotation> expectedClazz,
java.lang.String message) |
AnnotationException(java.lang.Class<?> clazz,
java.lang.Class<? extends java.lang.annotation.Annotation> expectedClazz,
java.lang.String message,
java.lang.Throwable cause) |
AnnotationException(java.lang.Class<?> clazz,
java.lang.Class<? extends java.lang.annotation.Annotation> expectedClazz,
java.lang.Throwable cause) |
Modifier and Type | Method and Description |
---|---|
java.lang.Class<?> |
getCausingClass() |
java.lang.Class<? extends java.lang.annotation.Annotation> |
getExpectedClass() |
java.lang.String |
toString() |
public AnnotationException(java.lang.Class<?> clazz, java.lang.Class<? extends java.lang.annotation.Annotation> expectedClazz, java.lang.String message)
clazz
- Class which causes this exception.expectedClazz
- Expected annotation class.message
- Message.public AnnotationException(java.lang.Class<?> clazz, java.lang.Class<? extends java.lang.annotation.Annotation> expectedClazz, java.lang.Throwable cause)
clazz
- Class which causes this exception.expectedClazz
- Expected annotation class.cause
- Causing exception.public AnnotationException(java.lang.Class<?> clazz, java.lang.Class<? extends java.lang.annotation.Annotation> expectedClazz, java.lang.String message, java.lang.Throwable cause)
clazz
- Class which causes this exception.expectedClazz
- Expected annotation class.message
- Message.cause
- Causing exception.17-November-2016 09:39 Deutsches Elektronen-Synchrotron DESY in der Helmholtz-Gemeinschaft