|
JAXB v0.21 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.lang.Throwable | +--java.lang.Exception | +--javax.xml.bind.UnmarshalException | +--javax.xml.bind.ValidationException
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:
A LocalValidationException
is thrown when a violation of a
local structural constraint is detected.
A GlobalValidationException
is thrown when a violation of
a global structural constraint is detected.
A TypeValidationException
is thrown when a violation of a
type constraint is detected; this can occur only during unmarshalling.
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.
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 |
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright © 2001 by Sun Microsystems, Inc., 901 San Antonio Road,
Palo Alto, California, 94303, U.S.A. All Rights Reserved.