API Overview API Index Package Overview Direct link to this page
JDK 1.6
  javax.xml.bind. TypeConstraintException View Source
Author(s)

Since
JAXB1.0
Version
$Revision: 1.2 $
Serial
Hierarchy
 Object
      Throwable
          Exception
              RuntimeException
                  TypeConstraintException
Implements
Subclasses
Description
public exception TypeConstraintException
  This exception indicates that a violation of a dynamically checked type constraint was detected.
See also:    ValidationEvent
Constructors
public TypeConstraintException (String message)
  Construct a TypeConstraintException with the specified detail message.
public TypeConstraintException (String message, String errorCode)
  Construct a TypeConstraintException with the specified detail message and vendor specific errorCode.
public TypeConstraintException (String message, String errorCode, Throwable exception)
  Construct a TypeConstraintException with the specified detail message, vendor specific errorCode, and linkedException.
public TypeConstraintException (String message, Throwable exception)
  Construct a TypeConstraintException with the specified detail message and linkedException.
public TypeConstraintException (Throwable exception)
  Construct a TypeConstraintException with a linkedException.
Methods
Hide/Show inherited methods
publicsynchronizednative Throwable fillInStackTrace () [Inherited From Throwable]
  Fills in the execution stack trace.
public Throwable getCause () [Inherited From Throwable]
  Returns the cause of this throwable or null if the cause is nonexistent or unknown.
public String getErrorCode ()
  Get the vendor specific error code
public Throwable getLinkedException ()
  Get the linked exception
public String getLocalizedMessage () [Inherited From Throwable]
  Creates a localized description of this throwable.
public String getMessage () [Inherited From Throwable]
  Returns the detail message string of this throwable.
public StackTraceElement getStackTrace () [Inherited From Throwable]
  Provides programmatic access to the stack trace information printed by Throwable.printStackTrace().
publicsynchronized Throwable initCause (Throwable cause) [Inherited From Throwable]
  Initializes the cause of this throwable to the specified value.
public void printStackTrace () [Overrides Throwable]
Prints this TypeConstraintException and its stack trace (including the stack trace of the linkedException if it is non-null) to System.err.
public void printStackTrace (PrintStream s) [Overrides Throwable]
  Prints this TypeConstraintException and its stack trace (including the stack trace of the linkedException if it is non-null) to the PrintStream.
public void printStackTrace (PrintWriter s) [Inherited From Throwable]
  Prints this throwable and its backtrace to the specified print writer.
publicsynchronized void setLinkedException (Throwable exception)
  Add a linked Exception.
public void setStackTrace (StackTraceElement stackTrace) [Inherited From Throwable]
  Sets the stack trace elements that will be returned by Throwable.getStackTrace() and printed by Throwable.printStackTrace() and related methods.
public String toString () [Overrides Throwable]
Returns a short description of this TypeConstraintException.
Fields
Hide/Show inherited fields
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar