Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public class

IncompleteAnnotationException

extends RuntimeException
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Exception
       ↳ java.lang.RuntimeException
         ↳ java.lang.annotation.IncompleteAnnotationException

Class Overview

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.

Summary

Public Constructors
, java.lang.String)">IncompleteAnnotationException ( Class <? extends  Annotation > annotationType, String elementName)
Constructs an instance with the incomplete annotation type and the name of the element that's missing.
Public Methods
Class <? extends  Annotation > annotationType ()
Returns the annotation type.
String elementName ()
Returns the incomplete element's name.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

, java.lang.String)">

public IncompleteAnnotationException ( Class <? extends  Annotation > annotationType, String elementName)

Added in API level 1

Constructs an instance with the incomplete annotation type and the name of the element that's missing.

Parameters
annotationType the annotation type.
elementName the name of the incomplete element.

Public Methods

public Class <? extends  Annotation > annotationType ()

Added in API level 1

Returns the annotation type.

Returns
  • a Class instance.

public String elementName ()

Added in API level 1

Returns the incomplete element's name.

Returns
  • the name of the element.