com.sun.xml.bind.v2.runtime

Class IllegalAnnotationsException

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.

Since: JAXB 2.0 EA1

Nested Class Summary
static classIllegalAnnotationsException.Builder
Constructor Summary
IllegalAnnotationsException(List<IllegalAnnotationException> errors)
Method Summary
List<IllegalAnnotationException>getErrors()
Returns a read-only list of IllegalAnnotationExceptions wrapped in this exception.
StringtoString()

Constructor Detail

IllegalAnnotationsException

public IllegalAnnotationsException(List<IllegalAnnotationException> errors)

Method Detail

getErrors

public List<IllegalAnnotationException> getErrors()
Returns a read-only list of IllegalAnnotationExceptions wrapped in this exception.

Returns: a non-null list.

toString

public String toString()