org.codehaus.groovy.runtime.metaclass
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
- Author:
- Jochen Theodorou
- See Also:
- Serialized Form
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 |
methodName
private java.lang.String methodName
methods
private FastArray methods
arguments
private java.lang.Class[] arguments
MethodSelectionException
public MethodSelectionException(java.lang.String methodName,
FastArray methods,
java.lang.Class[] arguments)
- Creates a new MethodSelectionException.
- Parameters:
methodName
- name of the methodmethods
- a FastArray of methodsarguments
- the method call argument classes
getMessage
public java.lang.String getMessage()
- Overrides:
getMessage
in class GroovyRuntimeException
appendClassNames
private void appendClassNames(java.lang.StringBuffer argBuf,
java.lang.Class[] classes)
appendMethods
private void appendMethods(java.lang.StringBuffer buffer)
Copyright © ${year} The Codehaus. All Rights Reserved.