javax.xml.bind

Class UnmarshalException

public class UnmarshalException extends JAXBException

The MarshalException is a subclass of the {@link javax.xml.bind.JAXBException} being thrown if the unmarshalling of a JAXB object failed.

Since: JAXB1.0

Author: JSR-31

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(Throwable pLinkedException)

Creates a new UnmarshalException with the specified linked exception.

UnmarshalException(String pMessage, Throwable pLinkedException)

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

UnmarshalException(String pMessage, String pErrorCode, Throwable pLinkedException)

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

Constructor Detail

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(Throwable pLinkedException)

Creates a new UnmarshalException with the specified linked exception.

Parameters: 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(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.