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 | 
|---|---|---|
 | 
                            Object | 
                            getArguments() | 
                        
 | 
                            Closure | 
                            getClosure() | 
                        
 | 
                            Class[] | 
                            getExpected() | 
                        
| Methods inherited from class | Name | 
|---|---|
class GroovyRuntimeException | 
                            getLocationText, getMessage, getMessageWithoutLocationText, getModule, getNode, setModule | 
                        
Copyright © 2003-2020 The Apache Software Foundation. All rights reserved.