Class IllegalAnnotationsException

  • All Implemented Interfaces:
    Serializable

    public class IllegalAnnotationsException
    extends jakarta.xml.bind.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
    Author:
    Kohsuke Kawaguchi
    See Also:
    Serialized Form
    • Constructor Detail

      • IllegalAnnotationsException

        public IllegalAnnotationsException​(List<org.glassfish.jaxb.core.v2.runtime.IllegalAnnotationException> errors)
    • Method Detail

      • getErrors

        public List<org.glassfish.jaxb.core.v2.runtime.IllegalAnnotationException> getErrors()
        Returns a read-only list of IllegalAnnotationExceptions wrapped in this exception.
        Returns:
        a non-null list.