Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

javax.xml.bind
Class ValidationException  view ValidationException download ValidationException.java

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjavax.xml.bind.JAXBException
              extended byjavax.xml.bind.ValidationException
All Implemented Interfaces:
java.io.Serializable

public class ValidationException
extends JAXBException

The MarshalException is a subclass of the JAXBException being thrown if the validation of a JAXB object failed.

Since:
JAXB1.0

Nested Class Summary
 
Nested classes inherited from class java.lang.Throwable
 
Field Summary
 
Fields inherited from class javax.xml.bind.JAXBException
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
ValidationException(java.lang.String pMessage)
          Creates a new ValidationException with the specified detail message.
ValidationException(java.lang.String pMessage, java.lang.String pErrorCode)
          Creates a new ValidationException with the specified detail message and vendor specific error code.
ValidationException(java.lang.String pMessage, java.lang.String pErrorCode, java.lang.Throwable pLinkedException)
          Creates a new ValidationException with the specified detail message, error code, and linked exception.
ValidationException(java.lang.String pMessage, java.lang.Throwable pLinkedException)
          Creates a new ValidationException with the specified detail message and linked exception.
ValidationException(java.lang.Throwable pLinkedException)
          Creates a new ValidationException with the specified linked exception.
 
Methods inherited from class javax.xml.bind.JAXBException
getErrorCode, getLinkedException, printStackTrace, printStackTrace, printStackTrace, setLinkedException, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ValidationException

public ValidationException(java.lang.String pMessage)

Creates a new ValidationException with the specified detail message.


ValidationException

public ValidationException(java.lang.String pMessage,
                           java.lang.String pErrorCode)

Creates a new ValidationException with the specified detail message and vendor specific error code.


ValidationException

public ValidationException(java.lang.Throwable pLinkedException)

Creates a new ValidationException with the specified linked exception.


ValidationException

public ValidationException(java.lang.String pMessage,
                           java.lang.Throwable pLinkedException)

Creates a new ValidationException with the specified detail message and linked exception.


ValidationException

public ValidationException(java.lang.String pMessage,
                           java.lang.String pErrorCode,
                           java.lang.Throwable pLinkedException)

Creates a new ValidationException with the specified detail message, error code, and linked exception.