Package groovy.lang
Class IncorrectClosureArgumentsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
groovy.lang.GroovyRuntimeException
groovy.lang.IncorrectClosureArgumentsException
- All Implemented Interfaces:
Serializable
An exception occurred when invoking a Closure with the wrong number and/or
types of arguments
- See Also:
-
Constructor Summary
ConstructorDescriptionIncorrectClosureArgumentsException
(Closure closure, Object arguments, Class[] expected) -
Method Summary
Methods inherited from class groovy.lang.GroovyRuntimeException
getLocationText, getMessage, getMessageWithoutLocationText, getModule, getNode, setModule
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
IncorrectClosureArgumentsException
-
-
Method Details
-
getArguments
-
getClosure
-
getExpected
-