Skip to content

Most visited

Recently visited

navigation
Added in API level 1

IncompleteAnnotationException

public class IncompleteAnnotationException
extends RuntimeException

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


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

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.

Inherited methods

From class java.lang.Throwable
From class java.lang.Object

Public constructors

IncompleteAnnotationException

Added in API level 1
IncompleteAnnotationException (Class<? extends Annotation> annotationType, 
                String elementName)

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

Parameters
annotationType Class: the annotation type.
elementName String: the name of the incomplete element.

Public methods

annotationType

Added in API level 1
Class<? extends Annotation> annotationType ()

Returns the annotation type.

Returns
Class<? extends Annotation> a Class instance.

elementName

Added in API level 1
String elementName ()

Returns the incomplete element's name.

Returns
String the name of the element.
This site uses cookies to store your preferences for site-specific language and display options.

Hooray!

This class requires API level or higher

This doc is hidden because your selected API level for the documentation is . You can change the documentation API level with the selector above the left navigation.

For more information about specifying the API level your app requires, read Supporting Different Platform Versions.