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:
- 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
- See Also:
- Serialized Form
Methods inherited from class javax.xml.bind.JAXBException |
getCause, getErrorCode, getLinkedException, printStackTrace, printStackTrace, printStackTrace, setLinkedException |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
IllegalAnnotationsException
public IllegalAnnotationsException(java.util.List<IllegalAnnotationException> errors)
toString
public java.lang.String toString()
- Overrides:
toString
in class javax.xml.bind.JAXBException
getErrors
public java.util.List<IllegalAnnotationException> getErrors()
- Returns a read-only list of
IllegalAnnotationException
s
wrapped in this exception.
- Returns:
- a non-null list.