groovy.lang
Class IllegalPropertyAccessException

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.IllegalPropertyAccessException
All Implemented Interfaces:
Serializable

public class IllegalPropertyAccessException
extends MissingPropertyException

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

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

Field Summary
 
Fields inherited from class groovy.lang.MissingPropertyException
MPE
 
Constructor Summary
IllegalPropertyAccessException(Field field, Class clazz)
           
IllegalPropertyAccessException(String propertyName, Class clazz, int modifiers)
           
 
Method Summary
 
Methods inherited from class groovy.lang.MissingPropertyException
getMessageWithoutLocationText, 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(String propertyName,
                                      Class clazz,
                                      int modifiers)

IllegalPropertyAccessException

public IllegalPropertyAccessException(Field field,
                                      Class clazz)

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