English | Site Directory

Android - An Open Handset Alliance Project

java.lang.annotation
public class

java.lang.annotation.AnnotationTypeMismatchException

java.lang.Object
java.lang.Throwable Serializable
java.lang.Exception
java.lang.RuntimeException
java.lang.annotation.AnnotationTypeMismatchException

Indicates that an annotation type has changed since it was compiled or serialized.

Summary

Public Constructors

          AnnotationTypeMismatchException(Method element, String foundType)

Constructs an instance for the given type element and the type found.

Public Methods

        Method  element()

The method object for the invalid type.

        String  foundType()

The invalid type.

Methods inherited from class java.lang.Throwable
Methods inherited from class java.lang.Object

Details

Public Constructors

public AnnotationTypeMismatchException(Method element, String foundType)

Constructs an instance for the given type element and the type found.

Parameters

element The annotation type element.
foundType The invalid type that was found.

Public Methods

public Method element()

The method object for the invalid type.

Returns

public String foundType()

The invalid type.

Returns

  • A String describing the invalid data.
Build m5-rc15g - 14 May 2008 12:50