com.sun.xml.bind.v2.runtime
Class IllegalAnnotationsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
javax.xml.bind.JAXBException
com.sun.xml.bind.v2.runtime.IllegalAnnotationsException
- All Implemented Interfaces:
- Serializable
public class IllegalAnnotationsException
- extends JAXBException
A list of IllegalAnnotationException
wrapped in one exception.
This exception is used to report all the errors to the client application
through JAXBContext.newInstance(java.lang.String)
.
- Since:
- JAXB 2.0 EA1
- See Also:
- Serialized Form
IllegalAnnotationsException
public IllegalAnnotationsException(List<IllegalAnnotationException> errors)
toString
public String toString()
- Overrides:
toString
in class JAXBException
getErrors
public List<IllegalAnnotationException> getErrors()
- Returns a read-only list of
IllegalAnnotationException
s
wrapped in this exception.
- Returns:
- a non-null list.