javax.xml.bind

Class UnmarshalException


public class UnmarshalException
extends JAXBException

The MarshalException is a subclass of the JAXBException being thrown if the unmarshalling of a JAXB object failed.
Author:
JSR-31
Since:
JAXB1.0

Constructor Summary

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

Constructor Details

UnmarshalException

public UnmarshalException(String pMessage)
Creates a new UnmarshalException with the specified detail message.
Parameters:
pMessage - The detail message.

UnmarshalException

public UnmarshalException(String pMessage,
                          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(String pMessage,
                          String pErrorCode,
                          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.

UnmarshalException

public UnmarshalException(String pMessage,
                          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(Throwable pLinkedException)
Creates a new UnmarshalException with the specified linked exception.
Parameters:
pLinkedException - The linked exception.