[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.
Fields inherited from class | Fields |
---|---|
class MissingPropertyException | MPE |
Constructor Summary
Constructor and description |
---|
IllegalPropertyAccessException
(String propertyName, Class clazz, int modifiers) |
IllegalPropertyAccessException
(Field field, Class clazz) |
Inherited Methods Summary
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)
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/3.0.7/html/gapi/groovy/lang/IllegalPropertyAccessException.html