groovy.lang
Class ReadOnlyPropertyException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by groovy.lang.GroovyRuntimeException
                  extended by groovy.lang.MissingPropertyException
                      extended by groovy.lang.ReadOnlyPropertyException
All Implemented Interfaces:
java.io.Serializable

public class ReadOnlyPropertyException
extends MissingPropertyException

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

Version:
$Revision: 783 $
Author:
James Strachan
See Also:
Serialized Form

Constructor Summary
ReadOnlyPropertyException(java.lang.String property, java.lang.Class type)
           
 
Method Summary
 
Methods inherited from class groovy.lang.MissingPropertyException
getProperty, getType
 
Methods inherited from class groovy.lang.GroovyRuntimeException
getLocationText, getMessage, getMessageWithoutLocationText, getModule, getNode, setModule
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReadOnlyPropertyException

public ReadOnlyPropertyException(java.lang.String property,
                                 java.lang.Class type)


Copyright © 2003-2011 The Codehaus. All Rights Reserved.