javax.xml.bind
Class UnmarshalException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by javax.xml.bind.JAXBException
              extended by javax.xml.bind.UnmarshalException
All Implemented Interfaces:
java.io.Serializable

public class UnmarshalException
extends JAXBException

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

Since:
JAXB1.0
Author:
JSR-31
See Also:
Serialized Form

Constructor Summary
UnmarshalException(java.lang.String pMessage)
          Creates a new UnmarshalException with the specified detail message.
UnmarshalException(java.lang.String pMessage, java.lang.String pErrorCode)
          Creates a new UnmarshalException with the specified detail message and vendor specific error code.
UnmarshalException(java.lang.String pMessage, java.lang.String pErrorCode, java.lang.Throwable pLinkedException)
          Creates a new UnmarshalException with the specified detail message, error code, and linked exception.
UnmarshalException(java.lang.String pMessage, java.lang.Throwable pLinkedException)
          Creates a new UnmarshalException with the specified detail message and linked exception.
UnmarshalException(java.lang.Throwable pLinkedException)
          Creates a new UnmarshalException with the specified linked exception.
 
Method Summary
 
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

UnmarshalException

public UnmarshalException(java.lang.String pMessage)

Creates a new UnmarshalException with the specified detail message.

Parameters:
pMessage - The detail message.

UnmarshalException

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

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

Parameters:
pMessage - The detail message.
pErrorCode - The error code.

UnmarshalException

public UnmarshalException(java.lang.Throwable pLinkedException)

Creates a new UnmarshalException with the specified linked exception.

Parameters:
pLinkedException - The linked exception.

UnmarshalException

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

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

Parameters:
pMessage - The detail message.
pLinkedException - The linked exception.

UnmarshalException

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

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

Parameters:
pMessage - The detail message.
pErrorCode - The vendor specific error code.
pLinkedException - The linked exception.