Groovy 2.2.1

groovy.lang
[Java] Class ReadOnlyPropertyException

java.lang.Object
  java.lang.Throwable
      java.lang.Exception
          java.lang.RuntimeException
              groovy.lang.GroovyRuntimeException
                  groovy.lang.MissingPropertyException
                      groovy.lang.ReadOnlyPropertyException

public class ReadOnlyPropertyException
extends MissingPropertyException

This exception is thrown if an attempt is made to set a read only property

Authors:
James Strachan
Version:
\$Revision\$


Field Summary
 
Fields inherited from class MissingPropertyException
MPE
 
Constructor Summary
ReadOnlyPropertyException(String property, Class type)

ReadOnlyPropertyException(String property, String classname)

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

Constructor Detail

ReadOnlyPropertyException

public ReadOnlyPropertyException(String property, Class type)


ReadOnlyPropertyException

public ReadOnlyPropertyException(String property, String classname)


 

Copyright © 2003-2013 The Codehaus. All rights reserved.