Package 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
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:
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns a read-only list ofIllegalAnnotationException
s wrapped in this exception.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
-
Constructor Details
-
IllegalAnnotationsException
-
-
Method Details
-
toString
- Overrides:
toString
in classJAXBException
-
getErrors
Returns a read-only list ofIllegalAnnotationException
s wrapped in this exception.- Returns:
- a non-null list.
-