Package com.sun.xml.bind.v2.runtime
Class IllegalAnnotationsException.Builder
- java.lang.Object
-
- com.sun.xml.bind.v2.runtime.IllegalAnnotationsException.Builder
-
- All Implemented Interfaces:
ErrorHandler
- Enclosing class:
- IllegalAnnotationsException
public static class IllegalAnnotationsException.Builder extends java.lang.Object implements ErrorHandler
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
check()
If an error was reported, throw the exception.void
error(IllegalAnnotationException e)
Receives a notification for an error in the annotated code.
-
-
-
Method Detail
-
error
public void error(IllegalAnnotationException e)
Description copied from interface:ErrorHandler
Receives a notification for an error in the annotated code.- Specified by:
error
in interfaceErrorHandler
-
check
public void check() throws IllegalAnnotationsException
If an error was reported, throw the exception. Otherwise exit normally.- Throws:
IllegalAnnotationsException
-
-