IllegalPropertyAccessException (Groovy 5.0.6)

Package: groovy.lang

## [Java] Class IllegalPropertyAccessException

- groovy.lang.IllegalPropertyAccessException

-     public class IllegalPropertyAccessException
      extends MissingPropertyException

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

- - 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`

- - ### Constructor Detail

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

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