|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
net.sf.daileon.notsupported.DuplicateAnnotationException
public class DuplicateAnnotationException
The DuplicateAnnotationException is thrown when a domain
annotation is evaluated to 2 equal annotations. This is likely to happen when
a domain annotation is annotated with other domain annotation, or when the
element has the annotation, and the domain annotation evaluates to the same
annotation.
| Field Summary | |
|---|---|
private org.objectweb.asm.attrs.Annotation |
annotation
The Annotation duplicated object |
private static long |
serialVersionUID
serialVersionUID |
| Constructor Summary | |
|---|---|
DuplicateAnnotationException()
Constructs a new exception with null as its detail message. |
|
DuplicateAnnotationException(org.objectweb.asm.attrs.Annotation annotation)
Constructs a new exception with null as its detail message
and a Annotation object, representing the duplicate
annotation. |
|
DuplicateAnnotationException(org.objectweb.asm.attrs.Annotation annotation,
String message)
Constructs a new exception with the specified detail message and the duplicate annotation. |
|
DuplicateAnnotationException(org.objectweb.asm.attrs.Annotation annotation,
String message,
Throwable cause)
Constructs a new exception with the specified detail message, cause and the duplicate annotation. |
|
DuplicateAnnotationException(org.objectweb.asm.attrs.Annotation annotation,
Throwable cause)
Constructs a new exception with the duplicate annotation, the specified cause and a detail message of (cause == null ? |
|
| Method Summary | |
|---|---|
org.objectweb.asm.attrs.Annotation |
getAnnotation()
Gets the duplicate annotation. |
| 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 |
|---|
private static final long serialVersionUID
private org.objectweb.asm.attrs.Annotation annotation
Annotation duplicated object
| Constructor Detail |
|---|
public DuplicateAnnotationException()
null as its detail message.
The cause is not initialized, and may subsequently be initialized by a
call to Throwable.initCause(java.lang.Throwable).
public DuplicateAnnotationException(org.objectweb.asm.attrs.Annotation annotation)
null as its detail message
and a Annotation object, representing the duplicate
annotation. The cause is not initialized, and may subsequently be
initialized by a call to Throwable.initCause(java.lang.Throwable).
public DuplicateAnnotationException(org.objectweb.asm.attrs.Annotation annotation,
String message,
Throwable cause)
Note that the detail message associated with cause is
not automatically incorporated in this exception's detail message.
message - The detail message (which is saved for later retrieval by the
Throwable.getMessage() method).cause - The cause (which is saved for later retrieval by the
Throwable.getCause() method). (A null value is
permitted, and indicates that the cause is nonexistent or
unknown.)annotation - The duplicate annotation.
public DuplicateAnnotationException(org.objectweb.asm.attrs.Annotation annotation,
String message)
Throwable.initCause(java.lang.Throwable).
annotation - The duplicate annotation.message - The detail message. The detail message is saved for later
retrieval by the Throwable.getMessage() method.
public DuplicateAnnotationException(org.objectweb.asm.attrs.Annotation annotation,
Throwable cause)
(cause == null ? null : cause.toString()) (which typically
contains the class and detail message of cause).
annotation - The duplicate annotation.cause - the cause (which is saved for later retrieval by the
Throwable.getCause() method). (A null value is
permitted, and indicates that the cause is nonexistent or
unknown.)| Method Detail |
|---|
public org.objectweb.asm.attrs.Annotation getAnnotation()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||