org.codehaus.groovy.runtime
Class NoSuchPropertyException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--org.codehaus.groovy.runtime.InvokerException
                          |
                          +--org.codehaus.groovy.runtime.NoSuchPropertyException
All Implemented Interfaces:
Serializable

public class NoSuchPropertyException
extends InvokerException

An exception occurred if a dynamic property dispatch fails with an unknown property

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

Constructor Summary
NoSuchPropertyException(String property, Class type)
           
NoSuchPropertyException(String property, Class type, SQLException e)
           
 
Method Summary
 String getProperty()
           
 Class getType()
           
 
Methods inherited from class org.codehaus.groovy.runtime.InvokerException
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

NoSuchPropertyException

public NoSuchPropertyException(String property,
                               Class type)

NoSuchPropertyException

public NoSuchPropertyException(String property,
                               Class type,
                               SQLException e)
Method Detail

getProperty

public String getProperty()
Returns:
the name of the property that could not be found

getType

public Class getType()
Returns:
The type on which the property was attempted to be called


Copyright © 2003 The Codehaus. All Rights Reserved.