Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

java.lang.annotation
Class AnnotationFormatError  view AnnotationFormatError download AnnotationFormatError.java

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Error
          extended byjava.lang.annotation.AnnotationFormatError
All Implemented Interfaces:
java.io.Serializable

public class AnnotationFormatError
extends java.lang.Error

Thrown when an annotation found in a class file is malformed. When the virtual machine finds a class file containing annotations, it attempts to parse them. This error is thrown if this operation fails.

Since:
1.5

Nested Class Summary
 
Nested classes inherited from class java.lang.Throwable
 
Field Summary
private static long serialVersionUID
           
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
AnnotationFormatError(java.lang.String message)
          Constructs a new AnnotationFormatError using the specified message to give details of the error.
AnnotationFormatError(java.lang.String message, java.lang.Throwable cause)
           Constructs a new AnnotationFormatError using the specified message to give details of the error.
AnnotationFormatError(java.lang.Throwable cause)
          Constructs a new AnnotationFormatError using the supplied cause Throwable to provide additional history, with regards to the root of the problem.
 
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
 

Field Detail

serialVersionUID

private static final long serialVersionUID
See Also:
Constant Field Values
Constructor Detail

AnnotationFormatError

public AnnotationFormatError(java.lang.String message)
Constructs a new AnnotationFormatError using the specified message to give details of the error.


AnnotationFormatError

public AnnotationFormatError(java.lang.String message,
                             java.lang.Throwable cause)

Constructs a new AnnotationFormatError using the specified message to give details of the error. The supplied cause Throwable is used to provide additional history, with regards to the root of the problem. It is perfectly valid for this to be null, if the cause is unknown.

Note: if a cause is supplied, the error message from this cause is not automatically included in the error message given by this error.


AnnotationFormatError

public AnnotationFormatError(java.lang.Throwable cause)
Constructs a new AnnotationFormatError using the supplied cause Throwable to provide additional history, with regards to the root of the problem. It is perfectly valid for this to be null, if the cause is unknown. If the cause is not null, the error message from this cause will also be used as the message for this error.