org.codehaus.groovy.runtime
Class NoSuchMethodException

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

public class NoSuchMethodException
extends InvokerException

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

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

Constructor Summary
NoSuchMethodException(String method, Class type)
           
 
Method Summary
 String getMethod()
           
 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

NoSuchMethodException

public NoSuchMethodException(String method,
                             Class type)
Method Detail

getMethod

public String getMethod()
Returns:
the name of the method that could not be found

getType

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


Copyright © 2003 The Codehaus. All Rights Reserved.