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
NoSuchMethodException
public NoSuchMethodException(String method,
Class type)
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.