groovy.lang
Class IllegalPropertyAccessException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.lang.RuntimeException
              extended bygroovy.lang.GroovyRuntimeException
                  extended bygroovy.lang.MissingPropertyException
                      extended bygroovy.lang.IllegalPropertyAccessException
All Implemented Interfaces:
java.io.Serializable

public class IllegalPropertyAccessException
extends MissingPropertyException

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

Version:
$Revision: 1.1 $
Author:
Jochen Theodorou
See Also:
Serialized Form

Field Summary
 
Fields inherited from class groovy.lang.MissingPropertyException
 
Fields inherited from class groovy.lang.GroovyRuntimeException
 
Fields inherited from class java.lang.RuntimeException
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
IllegalPropertyAccessException(java.lang.reflect.Field field, java.lang.Class clazz)
           
IllegalPropertyAccessException(java.lang.String propertyName, java.lang.Class clazz, int modifiers)
           
 
Method Summary
private static java.lang.String makeMessage(java.lang.String propertyName, java.lang.Class clazz, int modifiers, boolean isField)
           
 
Methods inherited from class groovy.lang.MissingPropertyException
getProperty, getType
 
Methods inherited from class groovy.lang.GroovyRuntimeException
getLocationText, getMessage, 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

IllegalPropertyAccessException

public IllegalPropertyAccessException(java.lang.String propertyName,
                                      java.lang.Class clazz,
                                      int modifiers)

IllegalPropertyAccessException

public IllegalPropertyAccessException(java.lang.reflect.Field field,
                                      java.lang.Class clazz)
Method Detail

makeMessage

private static java.lang.String makeMessage(java.lang.String propertyName,
                                            java.lang.Class clazz,
                                            int modifiers,
                                            boolean isField)


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