Serializable
public class IllegalAnnotationsException extends JAXBException
IllegalAnnotationException
wrapped in one exception.
This exception is used to report all the errors to the client application
through JAXBContext.newInstance(java.lang.String)
.
Modifier and Type | Class | Description |
---|---|---|
static class |
IllegalAnnotationsException.Builder |
Constructor | Description |
---|---|
IllegalAnnotationsException(List<IllegalAnnotationException> errors) |
Modifier and Type | Method | Description |
---|---|---|
List<IllegalAnnotationException> |
getErrors() |
Returns a read-only list of
IllegalAnnotationException s
wrapped in this exception. |
String |
toString() |
getCause, getErrorCode, getLinkedException, printStackTrace, printStackTrace, printStackTrace, setLinkedException
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace
public IllegalAnnotationsException(List<IllegalAnnotationException> errors)
public String toString()
toString
in class JAXBException
public List<IllegalAnnotationException> getErrors()
IllegalAnnotationException
s
wrapped in this exception.Copyright © 2018 Oracle Corporation. All rights reserved.