Build 1.0_r1(from source)

java.lang.annotation
Class IncompleteAnnotationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.annotation.IncompleteAnnotationException
All Implemented Interfaces:
Serializable

public class IncompleteAnnotationException
extends RuntimeException

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.

Since:
Android 1.0
See Also:
Serialized Form

Constructor Summary
IncompleteAnnotationException(Class<? extends Annotation> annotationType, String elementName)
          Constructs an instance with the incomplete annotation type and the name of the element that's missing.
 
Method Summary
 Class<? extends Annotation> annotationType()
          Returns the annotation type.
 String elementName()
          Returns the incomplete element's name.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

IncompleteAnnotationException

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.
Since:
Android 1.0
Method Detail

annotationType

public Class<? extends Annotation> annotationType()
Returns the annotation type.

Returns:
a Class instance.
Since:
Android 1.0

elementName

public String elementName()
Returns the incomplete element's name.

Returns:
the name of the element.
Since:
Android 1.0

Build 1.0_r1(from source)

Please submit a feedback, bug or feature