javax.xml.bind

Class PropertyException


public class PropertyException
extends JAXBException

The PropertyException is a subclass of the JAXBException being thrown if setting or getting a property failed.
Author:
JSR-31
Since:
JAXB1.0

Constructor Summary

PropertyException(String pMessage)
Creates a new PropertyException with the specified detail message.
PropertyException(String pName, Object pValue)
Creates a new PropertyException> by invoking PropertyException(String) with a message derived from pName and pValue.toString().
PropertyException(String pMessage, String pErrorCode)
Creates a new PropertyException with the specified detail message and vendor specific error code.
PropertyException(String pMessage, String pErrorCode, Throwable pLinkedException)
Creates a new PropertyException with the specified detail message, error code, and linked exception.
PropertyException(String pMessage, Throwable pLinkedException)
Creates a new PropertyException with the specified detail message and linked exception.
PropertyException(Throwable pLinkedException)
Creates a new PropertyException with the specified linked exception.

Method Summary

Methods inherited from class javax.xml.bind.JAXBException

getErrorCode, getLinkedException, printStackTrace, printStackTrace, printStackTrace, setLinkedException, toString

Constructor Details

PropertyException

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

PropertyException

public PropertyException(String pName,
                         Object pValue)
Creates a new PropertyException> by invoking PropertyException(String) with a message derived from pName and pValue.toString().
Parameters:
pName - A Property name.
pValue - A property value.

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