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
- Author:
- Kohsuke Kawaguchi
- 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
IllegalAnnotationExceptions
wrapped in this exception.
- Returns:
- a non-null list.
Copyright © 2005-2015 Oracle Corporation. All Rights Reserved.