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:
- java.io.Serializable
 
 public class IncorrectClosureArgumentsException extends GroovyRuntimeException An exception occurred when invoking a Closure with the wrong number and/or types of arguments- See Also:
- Serialized Form
 
- 
- 
Constructor SummaryConstructors Constructor Description IncorrectClosureArgumentsException(Closure closure, java.lang.Object arguments, java.lang.Class[] expected)
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.ObjectgetArguments()ClosuregetClosure()java.lang.Class[]getExpected()- 
Methods inherited from class groovy.lang.GroovyRuntimeExceptiongetLocationText, getMessage, getMessageWithoutLocationText, getModule, getNode, setModule
 
- 
 
- 
- 
- 
Constructor Detail- 
IncorrectClosureArgumentsExceptionpublic IncorrectClosureArgumentsException(Closure closure, java.lang.Object arguments, java.lang.Class[] expected) 
 
- 
 - 
Method Detail- 
getArgumentspublic java.lang.Object getArguments() 
 - 
getClosurepublic Closure getClosure() 
 - 
getExpectedpublic java.lang.Class[] getExpected() 
 
- 
 
-