Please note that the contents of this offline web site may be out of date. To access the most recent documentation visit the online version .
Note that links that point to online resources are green in color and will open in a new window.
We would love it if you could give us feedback about this material by filling this form (You have to be online to fill it)
Android APIs
public class

AnnotationFormatError

extends Error
java.lang.Object
   ↳ java.lang.Throwable
     ↳ java.lang.Error
       ↳ java.lang.annotation.AnnotationFormatError

Class Overview

Indicates that an annotation in the binary representation of a class is syntactically incorrect and the annotation parser is unable to process it. This exception is unlikely to ever occur, given that the code has been compiled by an ordinary Java compiler.

Summary

Public Constructors
AnnotationFormatError ( String message)
Constructs an instance with the message provided.
AnnotationFormatError ( String message, Throwable cause)
Constructs an instance with a message and a cause.
AnnotationFormatError ( Throwable cause)
Constructs an instance with a cause.
[Expand]
Inherited Methods
From class java.lang.Throwable
From class java.lang.Object

Public Constructors

public AnnotationFormatError ( String message)

Added in API level 1

Constructs an instance with the message provided.

Parameters
message the details of the error.

public AnnotationFormatError ( String message, Throwable cause)

Added in API level 1

Constructs an instance with a message and a cause.

Parameters
message the details of the error.
cause the cause of the error or null if none.

public AnnotationFormatError ( Throwable cause)

Added in API level 1

Constructs an instance with a cause. If the cause is not null , then cause.toString() is used as the error's message.

Parameters
cause the cause of the error or null if none.