de.ispsoft.jaxme.jaxb
Class TypeConstraintException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended byde.ispsoft.jaxme.jaxb.TypeConstraintException
All Implemented Interfaces:
java.io.Serializable

Deprecated. Soon to be replaced with javax.xml.bind.TypeConstraintException

public class TypeConstraintException
extends java.lang.RuntimeException

This exception indicates that a violation of a dynamically checked type constraint was detected. This exception can be thrown by the generated setter methods of the schema derived Java content classes. However, since fail-fast validation is an optional feature for JAXB Providers to support, not all setter methods will throw this exception when a type constraint is violated. TODO: if this exception is throw while invoking a fail-fast setter, what can the client expect about the value of the property? Should we say that the content is completely unchanged - as if the setter were never called?

Since:
JAXB1.0
Version:
$Revision: 1.1 $
Author:
  • Ryan Shoemaker, Sun Microsystems, Inc.
  • Joe Fialli, Sun Microsystems, Inc.
See Also:
ValidationEvent, Serialized Form

Constructor Summary
TypeConstraintException()
          Deprecated.  
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TypeConstraintException

public TypeConstraintException()
Deprecated.