| Modifier and Type | Field and Description |
|---|---|
| private final transient List | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | |
| public | |
| public | |
| public | |
| public | |
| public |
| Modifier and Type | Method and Description |
|---|---|
| private List | |
| private static Locatable | |
| private List | |
| public List | Returns: can be empty when no source position is available, but never null. The returned list will never contain null nor length-0List.Returns a read-only list of |
| public String | toString()
Overrides jakarta. Returns the exception name, message, and related information together in one string. |
| pos | back to summary |
|---|---|
| private final transient List<List<Location>> pos Read-only list of | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| IllegalAnnotationException | back to summary |
|---|---|
| public IllegalAnnotationException(String message, Locatable src) | |
| IllegalAnnotationException | back to summary |
|---|---|
| public IllegalAnnotationException(String message, Annotation src) | |
| IllegalAnnotationException | back to summary |
|---|---|
| public IllegalAnnotationException(String message, Locatable src1, Locatable src2) | |
| IllegalAnnotationException | back to summary |
|---|---|
| public IllegalAnnotationException(String message, Annotation src1, Annotation src2) | |
| IllegalAnnotationException | back to summary |
|---|---|
| public IllegalAnnotationException(String message, Annotation src1, Locatable src2) | |
| IllegalAnnotationException | back to summary |
|---|---|
| public IllegalAnnotationException(String message, Throwable cause, Locatable src) | |
| build | back to summary |
|---|---|
| private List | |
| cast | back to summary |
|---|---|
| private static Locatable cast(Annotation a) | |
| convert | back to summary |
|---|---|
| private List | |
| getSourcePos | back to summary |
|---|---|
| public List Returns a read-only list of
Normally, an annotation error happens on one particular
annotation, in which case this method returns a list that
contains another list, which in turn contains the location
information that leads to the error location
(IOW,
Sometimes, an error could occur because of two or more conflicting
annotations, in which case this method returns a list
that contains many lists, where each list contains
the location information that leads to each of the conflicting
annotations
(IOW,
Yet some other time, the runtime can fail to provide any
error location, in which case this method returns an empty list.
(IOW, List of
Each error location is identified not just by one
For example, suppose you specify class | |
| toString | back to summary |
|---|---|
| public String toString() Overrides jakarta. Returns the exception name, message, and related information together in one string.
Overriding this method (instead of
| |