Class IllegalAnnotationsException

  • All Implemented Interfaces:
    java.io.Serializable

    public class IllegalAnnotationsException
    extends javax.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
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<IllegalAnnotationException> getErrors()
      Returns a read-only list of IllegalAnnotationExceptions wrapped in this exception.
      java.lang.String toString()  
      • Methods inherited from class javax.xml.bind.JAXBException

        getCause, getErrorCode, getLinkedException, printStackTrace, printStackTrace, printStackTrace, setLinkedException
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Method Detail

      • toString

        public java.lang.String toString()
        Overrides:
        toString in class javax.xml.bind.JAXBException