IllegalAnnotationException wrapped in one exception.
This exception is used to report all the errors to the client application
through JAXBContext#newInstance.
| Modifier and Type | Class and Description |
|---|---|
| public static class |
| Modifier and Type | Field and Description |
|---|---|
| private final transient List | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| private static String | |
| public List | Returns: a non-null list.Returns a read-only list of |
| errors | back to summary |
|---|---|
| private final transient List<IllegalAnnotationException> errors | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| IllegalAnnotationsException | back to summary |
|---|---|
| public IllegalAnnotationsException(List<IllegalAnnotationException> errors) | |
| buildMessage | back to summary |
|---|---|
| private static String buildMessage(List<IllegalAnnotationException> errors) | |
| getErrors | back to summary |
|---|---|
| public List Returns a read-only list of
| |
| Modifier and Type | Field and Description |
|---|---|
| private final List |
| Access | Constructor and Description |
|---|---|
| public |
| Modifier and Type | Method and Description |
|---|---|
| public void | |
| public void | error(IllegalAnnotationException e)
Implements org. Receives a notification for an error in the annotated code. |
| list | back to summary |
|---|---|
| private final List<IllegalAnnotationException> list | |
| Builder | back to summary |
|---|---|
| public Builder() Default constructor. | |
| check | back to summary |
|---|---|
| public void check() throws IllegalAnnotationsException If an error was reported, throw the exception. Otherwise exit normally. | |
| error | back to summary |
|---|---|
| public void error(IllegalAnnotationException e) Implements org. Doc from org. Receives a notification for an error in the annotated code.
| |