Uses of Class javax.xml.bind.PropertyException (Java Platform SE 8 )
Date: 2026-04-17

## Uses of Class
javax.xml.bind.PropertyException

- Packages that use PropertyException
  Package | Description
  --- | ---
  javax.xml.bind | Provides a runtime binding framework for client applications including unmarshalling, marshalling, and validation capabilities.
  javax.xml.bind.helpers | JAXB Provider Use Only: Provides partial default implementations for some of the `javax.xml.bind` interfaces.

- - ### Uses of PropertyException in javax.xml.bind

    Methods in javax.xml.bind that throw PropertyException
    Modifier and Type | Method and Description
    --- | ---
    `Object` | Unmarshaller.`getProperty(String name)` Get the particular property in the underlying implementation of `Unmarshaller`.
    `abstract Object` | Binder.`getProperty(String name)` Get the particular property in the underlying implementation of `Binder`.
    `Object` | Marshaller.`getProperty(String name)` Get the particular property in the underlying implementation of `Marshaller`.
    `Object` | Validator.`getProperty(String name)` Deprecated. since JAXB2.0
    `void` | Unmarshaller.`setProperty(String name, Object value)` Set the particular property in the underlying implementation of `Unmarshaller`.
    `abstract void` | Binder.`setProperty(String name, Object value)` Set the particular property in the underlying implementation of `Binder`.
    `void` | Marshaller.`setProperty(String name, Object value)` Set the particular property in the underlying implementation of `Marshaller`.
    `void` | Validator.`setProperty(String name, Object value)` Deprecated. since JAXB2.0

  - ### Uses of PropertyException in javax.xml.bind.helpers

    Methods in javax.xml.bind.helpers that throw PropertyException
    Modifier and Type | Method and Description
    --- | ---
    `Object` | AbstractMarshallerImpl.`getProperty(String name)` Default implementation of the getProperty method handles the four defined properties in Marshaller.
    `Object` | AbstractUnmarshallerImpl.`getProperty(String name)` Default implementation of the getProperty method always throws PropertyException since there are no required properties.
    `void` | AbstractMarshallerImpl.`setProperty(String name, Object value)` Default implementation of the setProperty method handles the four defined properties in Marshaller.
    `void` | AbstractUnmarshallerImpl.`setProperty(String name, Object value)` Default implementation of the setProperty method always throws PropertyException since there are no required properties.

Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2026, Oracle and/or its affiliates. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.