FileDocCategorySizeDatePackage
IncompleteAnnotationException.javaAPI DocAndroid 1.5 API2458Wed May 06 22:41:02 BST 2009java.lang.annotation

IncompleteAnnotationException

public class IncompleteAnnotationException extends RuntimeException
Indicates that an element of an annotation type was accessed that was added after the type was compiled or serialized. This does not apply to new elements that have default values.
since
Android 1.0

Fields Summary
private static final long
serialVersionUID
private Class
annotationType
private String
elementName
Constructors Summary
public IncompleteAnnotationException(Class annotationType, String elementName)
Constructs an instance with the incomplete annotation type and the name of the element that's missing.

param
annotationType the annotation type.
param
elementName the name of the incomplete element.
since
Android 1.0


                                                                            
     
                  
        super(Messages.getString("annotation.0", elementName, annotationType.getName())); //$NON-NLS-1$
        this.annotationType = annotationType;
        this.elementName = elementName;
    
Methods Summary
public java.lang.ClassannotationType()
Returns the annotation type.

return
a Class instance.
since
Android 1.0

        return annotationType;
    
public java.lang.StringelementName()
Returns the incomplete element's name.

return
the name of the element.
since
Android 1.0

        return elementName;