Android
java.lang.annotation
public class

java.lang.annotation.IncompleteAnnotationException

java.lang.Object
java.lang.Throwable Serializable
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.
Methods inherited from class java.lang.Throwable
Methods inherited from class java.lang.Object

Details

Public Constructors

public 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 the annotation type.
elementName the name of the incomplete element.

Public Methods

public Class<? extends Annotation> annotationType()

Returns the annotation type.

Returns

  • a Class instance.

public String elementName()

Returns the incomplete element's name.

Returns

  • the name of the element.
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:56