groovy.lang
public class: MissingMethodException [javadoc |
source]
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
groovy.lang.GroovyRuntimeException
groovy.lang.MissingMethodException
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
MissingMethodExceptionNoStack, MissingMethodExecutionFailed
An exception occurred if a dynamic method dispatch fails with an unknown method.
Note that the Missing*Exception classes were named for consistency and
to avoid conflicts with JDK exceptions of the same name.
- author:
< - a href="mailto:james@coredevelopers.net">James Strachan
- version:
$ - Revision: 8875 $
| Methods from java.lang.Throwable: |
|---|
|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Method from groovy.lang.MissingMethodException Detail: |
public Object[] getArguments() {
return arguments;
}
|
public String getMessage() {
return "No signature of method: "
+ (isStatic ? "static " : "")
+ type.getName()
+ "."
+ method
+ "() is applicable for argument types: ("
+ InvokerHelper.toTypeString(arguments)
+ ") values: "
+ InvokerHelper.toString(arguments);
}
|
public String getMethod() {
return method;
}
|
public Class getType() {
return type;
}
|
public boolean isStatic() {
return isStatic;
}
|