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 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(IllegalAnnotationException e)
           
 
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)
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


Copyright © 2014 Oracle Corporation. All Rights Reserved.