JAXB
v0.21

javax.xml.bind
Class TypeValidationException

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

public class TypeValidationException
extends ValidationException

Checked exception thrown when a TypeConstraintException is thrown during unmarshalling. That exception is wrapped within this exception.

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

Constructor Summary
TypeValidationException(TypeConstraintException tcx)
          Constructs an instance wrapping the given TypeConstraintException.
 
Method Summary
 TypeConstraintException getException()
          Returns the TypeConstraintException wrapped within this exception.
 
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
 

Constructor Detail

TypeValidationException

public TypeValidationException(TypeConstraintException tcx)
Constructs an instance wrapping the given TypeConstraintException.
Parameters:
tcx - The TypeConstraintException to be wrapped
Method Detail

getException

public TypeConstraintException getException()
Returns the TypeConstraintException wrapped within this exception.
Returns:
The TypeConstraintException wrapped within this exception

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.