JAXB
v0.21

javax.xml.bind
Class ValidationException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--javax.xml.bind.UnmarshalException
                    |
                    +--javax.xml.bind.ValidationException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
StructureValidationException, TypeValidationException

public abstract class ValidationException
extends UnmarshalException

Abstract checked-exception class for exceptions thrown to indicate that validation has failed.

Validation errors fall into three categories, each of which has a specific subclass of this class:

For convenience, the local- and global-validation exception classes are unified by the superclass StructureValidationException, which is an immediate subclass of this class.

This class extends UnmarshalException, but instances of this class may be thrown during explicit validation as well as during unmarshalling. An instance thrown during explicit validation will have an undefined scan position.

Version:
1.12, 01/05/31
See Also:
Serialized Form

Methods inherited from class javax.xml.bind.UnmarshalException
getPosition, initPosition
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 


JAXB
v0.21


Comments to: jaxb-comments@java.sun.com
More information at: http://java.sun.com/xml/jaxb

Copyright © 2001 by Sun Microsystems, Inc., 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.