com.sun.xml.bind.v2.runtime
Class IllegalAnnotationsException.Builder

java.lang.Object
  extended by com.sun.xml.bind.v2.runtime.IllegalAnnotationsException.Builder
All Implemented Interfaces:
ErrorHandler
Enclosing class:
IllegalAnnotationsException

public static class IllegalAnnotationsException.Builder
extends Object
implements ErrorHandler


Constructor Summary
IllegalAnnotationsException.Builder()
           
 
Method Summary
 void check()
          If an error was reported, throw the exception.
 void error(IllegalAnnotationException e)
          Receives a notification for an error in the annotated code.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IllegalAnnotationsException.Builder

public IllegalAnnotationsException.Builder()
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 interface ErrorHandler

check

public void check()
           throws IllegalAnnotationsException
If an error was reported, throw the exception. Otherwise exit normally.

Throws:
IllegalAnnotationsException