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
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
check()
If an error was reported, throw the exception.void
Receives a notification for an error in the annotated code.
-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
error
Description copied from interface:ErrorHandler
Receives a notification for an error in the annotated code.- Specified by:
error
in interfaceErrorHandler
-
check
If an error was reported, throw the exception. Otherwise exit normally.- Throws:
IllegalAnnotationsException
-