Top Description Fields Constructors Methods
groovy.lang

public Class IncorrectClosureArgumentsException

extends GroovyRuntimeException
Class Inheritance
Imports
org.codehaus.groovy.runtime.InvokerHelper

An exception occurred when invoking a Closure with the wrong number and/or types of arguments

Field Summary

Modifier and TypeField and Description
private final Object
private final Closure<V>
private final Class<T>[]
private static final long

Constructor Summary

AccessConstructor and Description
public
IncorrectClosureArgumentsException(Closure<V> closure, Object arguments, Class<T>[] expected)

Method Summary

Modifier and TypeMethod and Description
public Object
public Closure<V>
public Class<T>[]
Inherited from groovy.lang.GroovyRuntimeException:
getLocationTextgetMessagegetMessageWithoutLocationTextgetModulegetNodesetModule

Field Detail

argumentsback to summary
private final Object arguments
closureback to summary
private final Closure<V> closure
expectedback to summary
private final Class<T>[] expected
serialVersionUIDback to summary
private static final long serialVersionUID

Hides groovy.lang.GroovyRuntimeException.serialVersionUID.

Constructor Detail

IncorrectClosureArgumentsExceptionback to summary
public IncorrectClosureArgumentsException(Closure<V> closure, Object arguments, Class<T>[] expected)

Method Detail

getArgumentsback to summary
public Object getArguments()
getClosureback to summary
public Closure<V> getClosure()
getExpectedback to summary
public Class<T>[] getExpected()