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:
com.sun.xml.bind.v2.model.core.ErrorHandler
Enclosing class:
IllegalAnnotationsException

public static class IllegalAnnotationsException.Builder
extends java.lang.Object
implements com.sun.xml.bind.v2.model.core.ErrorHandler


Constructor Summary
IllegalAnnotationsException.Builder()
           
 
Method Summary
 void check()
          If an error was reported, throw the exception.
 void error(com.sun.xml.bind.v2.runtime.IllegalAnnotationException e)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

IllegalAnnotationsException.Builder

public IllegalAnnotationsException.Builder()
Method Detail

error

public void error(com.sun.xml.bind.v2.runtime.IllegalAnnotationException e)
Specified by:
error in interface com.sun.xml.bind.v2.model.core.ErrorHandler

check

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

Throws:
IllegalAnnotationsException