[Java] Class ReadOnlyPropertyException
- groovy.lang.ReadOnlyPropertyException
This exception is thrown if an attempt is made to set a read only property
- Authors:
- James Strachan
Fields inherited from class | Fields |
---|---|
class MissingPropertyException | MPE |
Constructor Summary
Constructor and description |
---|
ReadOnlyPropertyException
(String property, Class type) |
ReadOnlyPropertyException
(String property, String classname) |
Inherited Methods Summary
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 ReadOnlyPropertyException(String property, Class type)
public ReadOnlyPropertyException(String property, String classname)
© 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
https://docs.groovy-lang.org/2.4.21/html/gapi/groovy/lang/ReadOnlyPropertyException.html