src/share/jaxws_classes/javax/xml/bind/ValidationException.java

Print this page
rev 507 : 8047724: @since tag cleanup in jaxws
Reviewed-by:


  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package javax.xml.bind;
  27 
  28 /**
  29  * This exception indicates that an error has occurred while performing
  30  * a validate operation.
  31  *
  32  * <p>
  33  * The <tt>ValidationEventHandler</tt> can cause this exception to be thrown
  34  * during the validate operations.  See
  35  * {@link ValidationEventHandler#handleEvent(ValidationEvent)
  36  * ValidationEventHandler.handleEvent(ValidationEvent)}.
  37  *
  38  * @author <ul><li>Ryan Shoemaker, Sun Microsystems, Inc.</li></ul>
  39  * @see JAXBException
  40  * @see Validator
  41  * @since JAXB1.0
  42  */
  43 public class ValidationException extends JAXBException {
  44 
  45     /**
  46      * Construct an ValidationException with the specified detail message.  The
  47      * errorCode and linkedException will default to null.
  48      *
  49      * @param message a description of the exception
  50      */
  51     public ValidationException(String message) {
  52         this( message, null, null );
  53     }
  54 
  55     /**
  56      * Construct an ValidationException with the specified detail message and vendor
  57      * specific errorCode.  The linkedException will default to null.
  58      *
  59      * @param message a description of the exception
  60      * @param errorCode a string specifying the vendor specific error code
  61      */




  21  * Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
  22  * or visit www.oracle.com if you need additional information or have any
  23  * questions.
  24  */
  25 
  26 package javax.xml.bind;
  27 
  28 /**
  29  * This exception indicates that an error has occurred while performing
  30  * a validate operation.
  31  *
  32  * <p>
  33  * The <tt>ValidationEventHandler</tt> can cause this exception to be thrown
  34  * during the validate operations.  See
  35  * {@link ValidationEventHandler#handleEvent(ValidationEvent)
  36  * ValidationEventHandler.handleEvent(ValidationEvent)}.
  37  *
  38  * @author <ul><li>Ryan Shoemaker, Sun Microsystems, Inc.</li></ul>
  39  * @see JAXBException
  40  * @see Validator
  41  * @since 1.6, JAXB 1.0
  42  */
  43 public class ValidationException extends JAXBException {
  44 
  45     /**
  46      * Construct an ValidationException with the specified detail message.  The
  47      * errorCode and linkedException will default to null.
  48      *
  49      * @param message a description of the exception
  50      */
  51     public ValidationException(String message) {
  52         this( message, null, null );
  53     }
  54 
  55     /**
  56      * Construct an ValidationException with the specified detail message and vendor
  57      * specific errorCode.  The linkedException will default to null.
  58      *
  59      * @param message a description of the exception
  60      * @param errorCode a string specifying the vendor specific error code
  61      */