Class MethodSelectionException
- java.lang.Object
- 
- java.lang.Throwable
- 
- java.lang.Exception
- 
- java.lang.RuntimeException
- 
- groovy.lang.GroovyRuntimeException
- 
- org.codehaus.groovy.runtime.metaclass.MethodSelectionException
 
 
 
 
 
- 
- All Implemented Interfaces:
- java.io.Serializable
 
 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
- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description MethodSelectionException(java.lang.String methodName, FastArray methods, java.lang.Class[] arguments)Creates a new MethodSelectionException.
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetMessage()- 
Methods inherited from class groovy.lang.GroovyRuntimeExceptiongetLocationText, getMessageWithoutLocationText, getModule, getNode, setModule
 
- 
 
- 
- 
- 
Constructor Detail- 
MethodSelectionExceptionpublic MethodSelectionException(java.lang.String methodName, FastArray methods, java.lang.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- 
getMessagepublic java.lang.String getMessage() - Overrides:
- getMessagein class- GroovyRuntimeException
 
 
- 
 
-