Android
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()
Returns the method object for the invalid type.
          String  foundType()
Returns 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. This is actually the textual type description found in the binary class representation, so it may not be human-readable.

Public Methods

public Method element()

Returns the method object for the invalid type.

Returns

public String foundType()

Returns the invalid type.

Returns

  • a string describing the invalid data.
Copyright 2007 Google Inc. Build 0.9_r1-98467 - 14 Aug 2008 18:56