public class IllegalAnnotationsException
extends javax.xml.bind.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 and Description |
---|---|
static class |
IllegalAnnotationsException.Builder |
Constructor and Description |
---|
IllegalAnnotationsException(java.util.List<IllegalAnnotationException> errors) |
Modifier and Type | Method and Description |
---|---|
java.util.List<IllegalAnnotationException> |
getErrors()
Returns a read-only list of
IllegalAnnotationException s
wrapped in this exception. |
java.lang.String |
toString() |
getCause, getErrorCode, getLinkedException, printStackTrace, printStackTrace, printStackTrace, setLinkedException
public IllegalAnnotationsException(java.util.List<IllegalAnnotationException> errors)
public java.lang.String toString()
toString
in class javax.xml.bind.JAXBException
public java.util.List<IllegalAnnotationException> getErrors()
IllegalAnnotationException
s
wrapped in this exception.