groovy.lang
Class IncorrectClosureArgumentsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
groovy.lang.GroovyRuntimeException
groovy.lang.IncorrectClosureArgumentsException
- All Implemented Interfaces:
- Serializable
public class IncorrectClosureArgumentsException
extends GroovyRuntimeException
An exception occurred when invoking a Closure with the wrong number and/or
types of arguments
- Version:
- $Revision: 6817 $
- Author:
- James Strachan
- See Also:
- Serialized Form
Methods inherited from class java.lang.Throwable |
addSuppressedException, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressedExceptions, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
IncorrectClosureArgumentsException
public IncorrectClosureArgumentsException(Closure closure,
Object arguments,
Class[] expected)
getArguments
public Object getArguments()
getClosure
public Closure getClosure()
getExpected
public Class[] getExpected()