public class IncorrectClosureArgumentsException extends GroovyRuntimeException
An exception occurred when invoking a Closure with the wrong number and/or types of arguments
Constructor and description |
---|
IncorrectClosureArgumentsException(Closure closure, Object arguments, Class[] expected) |
Type Params | Return Type | Name and description |
---|---|---|
|
public Object |
getArguments() |
|
public Closure |
getClosure() |
|
public Class[] |
getExpected() |
Methods inherited from class | Name |
---|---|
class GroovyRuntimeException |
getMessage, getMessageWithoutLocationText, getModule, getNode, setModule |
Copyright © 2003-2022 The Apache Software Foundation. All rights reserved.