Package groovy.lang

Class 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
See Also:
  • Constructor Details

    • IncorrectClosureArgumentsException

      public IncorrectClosureArgumentsException(Closure closure, Object arguments, Class[] expected)
  • Method Details

    • getArguments

      public Object getArguments()
    • getClosure

      public Closure getClosure()
    • getExpected

      public Class[] getExpected()