Package: groovy.lang

## [Java] Class IllegalPropertyAccessException

- groovy.lang.IllegalPropertyAccessException

- An exception occurred if a dynamic property dispatch fails with a field not accessible.

  Authors:
    Jochen Theodorou

- - Inherited fields
    Fields inherited from class | Fields
    --- | ---
    `class MissingPropertyException` | `MPE`

  - ### Constructor Summary

    Constructors
    Constructor and description
    `IllegalPropertyAccessException (String propertyName, Class clazz, int modifiers)`
    `IllegalPropertyAccessException (Field field, Class clazz)`

  - ### Inherited Methods Summary

    Inherited Methods
    Methods inherited from class | Name
    --- | ---
    `class MissingPropertyException` | `getMessageWithoutLocationText, getProperty, getType`
    `class GroovyRuntimeException` | `getLocationText, getMessage, getMessageWithoutLocationText, getModule, getNode, setModule`
    `class RuntimeException` | `printStackTrace, printStackTrace, printStackTrace, fillInStackTrace, getCause, initCause, toString, addSuppressed, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, setStackTrace, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll`

- - ### Constructor Detail

    - #### public IllegalPropertyAccessException(String propertyName, Class clazz, int modifiers)

    - #### public IllegalPropertyAccessException(Field field, Class clazz)