public class IncorrectClosureArgumentsException extends GroovyRuntimeException
| Constructor and Description | 
|---|
| IncorrectClosureArgumentsException(Closure closure,
                                  java.lang.Object arguments,
                                  java.lang.Class[] expected) | 
| Modifier and Type | Method and Description | 
|---|---|
| java.lang.Object | getArguments() | 
| Closure | getClosure() | 
| java.lang.Class[] | getExpected() | 
getLocationText, getMessage, getMessageWithoutLocationText, getModule, getNode, setModulepublic IncorrectClosureArgumentsException(Closure closure, java.lang.Object arguments, java.lang.Class[] expected)
public java.lang.Object getArguments()
public Closure getClosure()
public java.lang.Class[] getExpected()