javax.xml.bind
Class PropertyException

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

public class PropertyException
extends JAXBException

The PropertyException is a subclass of the JAXBException being thrown if setting or getting a property failed.

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

Constructor Summary
PropertyException(java.lang.String pMessage)
          Creates a new PropertyException with the specified detail message.
PropertyException(java.lang.String pName, java.lang.Object pValue)
          Creates a new PropertyException> by invoking PropertyException(String) with a message derived from pName and pValue.toString().
PropertyException(java.lang.String pMessage, java.lang.String pErrorCode)
          Creates a new PropertyException with the specified detail message and vendor specific error code.
PropertyException(java.lang.String pMessage, java.lang.String pErrorCode, java.lang.Throwable pLinkedException)
          Creates a new PropertyException with the specified detail message, error code, and linked exception.
PropertyException(java.lang.String pMessage, java.lang.Throwable pLinkedException)
          Creates a new PropertyException with the specified detail message and linked exception.
PropertyException(java.lang.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
 
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

PropertyException

public PropertyException(java.lang.String pMessage)

Creates a new PropertyException with the specified detail message.

Parameters:
pMessage - The detail message.

PropertyException

public PropertyException(java.lang.String pMessage,
                         java.lang.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(java.lang.Throwable pLinkedException)

Creates a new PropertyException with the specified linked exception.

Parameters:
pLinkedException - The linked exception.

PropertyException

public PropertyException(java.lang.String pMessage,
                         java.lang.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(java.lang.String pMessage,
                         java.lang.String pErrorCode,
                         java.lang.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(java.lang.String pName,
                         java.lang.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.