javax.xml.bind

Class PropertyException

public class PropertyException extends JAXBException

The PropertyException is a subclass of the {@link javax.xml.bind.JAXBException} being thrown if setting or getting a property failed.

Since: JAXB1.0

Author: JSR-31

Constructor Summary
PropertyException(String pMessage)

Creates a new PropertyException with the specified detail message.

PropertyException(String pMessage, String pErrorCode)

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

PropertyException(Throwable pLinkedException)

Creates a new PropertyException with the specified linked exception.

PropertyException(String pMessage, Throwable pLinkedException)

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

PropertyException(String pMessage, String pErrorCode, Throwable pLinkedException)

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

PropertyException(String pName, Object pValue)

Creates a new PropertyException> by invoking {@link #PropertyException(String)} with a message derived from pName and pValue.toString().

Constructor Detail

PropertyException

public PropertyException(String pMessage)

Creates a new PropertyException with the specified detail message.

Parameters: pMessage The detail message.

PropertyException

public PropertyException(String pMessage, String pErrorCode)

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

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

PropertyException

public PropertyException(Throwable pLinkedException)

Creates a new PropertyException with the specified linked exception.

Parameters: pLinkedException The linked exception.

PropertyException

public PropertyException(String pMessage, Throwable pLinkedException)

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

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

PropertyException

public PropertyException(String pMessage, String pErrorCode, Throwable pLinkedException)

Creates a new PropertyException 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.

PropertyException

public PropertyException(String pName, Object pValue)

Creates a new PropertyException> by invoking {@link #PropertyException(String)} with a message derived from pName and pValue.toString().

Parameters: pName A Property name. pValue A property value.