[Java] Class MethodSelectionException
- org.codehaus.groovy.runtime.metaclass.MethodSelectionException
public class MethodSelectionException extends GroovyRuntimeException
This exception is thrown if the runtime is unable to select a method. This class builds the exception text when calling getMessage.
Note: This exception as for internal use only!
- Since:
- Groovy 1.1
Constructor Summary
| Constructor and description | 
|---|
| MethodSelectionException
                                (String methodName, FastArray methods, Class[] arguments)Creates a new MethodSelectionException. | 
Methods Summary
| Type Params | Return Type | Name and description | 
|---|---|---|
| public String | getMessage() | 
Inherited Methods Summary
| Methods inherited from class | Name | 
|---|---|
| class GroovyRuntimeException | getLocationText, getMessage, getMessageWithoutLocationText, getModule, getNode, setModule | 
Constructor Detail
public MethodSelectionException(String methodName, FastArray methods, Class[] arguments)
Creates a new MethodSelectionException.
- Parameters:
- 
methodName- name of the method
- 
methods- a FastArray of methods
- 
arguments- the method call argument classes
Method Detail
public String getMessage()
    © 2003-2020 The Apache Software Foundation
Licensed under the Apache license.
    https://docs.groovy-lang.org/3.0.7/html/gapi/org/codehaus/groovy/runtime/metaclass/MethodSelectionException.html