|
Préférences
Moteurs de recherche
|
||||||||||||||
| JavaTM 2 Platform Std. Ed. v1.5.0
java.lang.annotation
|
|||||||||||||||
| Constructor Summary | |
|---|---|
IncompleteAnnotationException(Class<? extends Annotation> annotationType,
String elementName)
Constructs an IncompleteAnnotationException to indicate that the named element was missing from the specified annotation type. |
|
| Method Summary | |
|---|---|
Class<? extends Annotation> |
annotationType()
Returns the Class object for the annotation type with the missing element. |
String |
elementName()
Returns the name of the missing element. |
| Methods inherited from class java.lang.Throwable |
|---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IncompleteAnnotationException(Class<? extends Annotation> annotationType, String elementName)
annotationType - the Class object for the annotation typeelementName - the name of the missing element| Method Detail |
|---|
public Class<? extends Annotation> annotationType()
public String elementName()