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

Since
JAXB1.0
Version
$Revision: 1.2 $
Serial
Hierarchy
 Object
      Throwable
          Exception
              JAXBException
                  ValidationException
Implements
Subclasses
Description
public exception ValidationException
  This exception indicates that an error has occurred while performing a validate operation.
See also:    JAXBException Validator
Constructors
public ValidationException (String message)
  Construct an ValidationException with the specified detail message.
public ValidationException (String message, String errorCode)
  Construct an ValidationException with the specified detail message and vendor specific errorCode.
public ValidationException (String message, String errorCode, Throwable exception)
  Construct an ValidationException with the specified detail message, vendor specific errorCode, and linkedException.
public ValidationException (String message, Throwable exception)
  Construct an ValidationException with the specified detail message and linkedException.
public ValidationException (Throwable exception)
  Construct an ValidationException with a linkedException.
Methods
Hide/Show inherited methods
publicsynchronizednative Throwable fillInStackTrace () [Inherited From Throwable]
  Fills in the execution stack trace.
@Override
public Throwable getCause () [Inherited From JAXBException]
public String getErrorCode () [Inherited From JAXBException]
  Get the vendor specific error code
public Throwable getLinkedException () [Inherited From JAXBException]
  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 () [Inherited From JAXBException]
Prints this JAXBException and its stack trace (including the stack trace of the linkedException if it is non-null) to System.err.
public void printStackTrace (PrintStream s) [Inherited From JAXBException]
  Prints this JAXBException 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 JAXBException]
  Prints this JAXBException and its stack trace (including the stack trace of the linkedException if it is non-null) to the PrintWriter.
publicsynchronized void setLinkedException (Throwable exception) [Inherited From JAXBException]
  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 () [Inherited From JAXBException]
Returns a short description of this JAXBException.
Fields
Hide/Show inherited fields
pack-privatefinalstatic long serialVersionUID = "-5621384651494307979" [Inherited From JAXBException]
Nested Classes
Generated By: JavaOnTracks Doclet 0.1.4     ©Thibaut Colar