English | Site Directory

Android - An Open Handset Alliance Project

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 annotationType, String elementName)

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

Public Methods

        Class  annotationType()

The annotation type.

        String  elementName()

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 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 annotationType()

The annotation type.

Returns

  • A Class instance.

public String elementName()

The incomplete element's name.

Returns

  • The name of the element.
Build m5-rc15g - 14 May 2008 12:50