groovy.lang
[Java] Class IncorrectClosureArgumentsException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
groovy.lang.GroovyRuntimeException
groovy.lang.IncorrectClosureArgumentsException
public class IncorrectClosureArgumentsException
extends GroovyRuntimeException
An exception occurred when invoking a Closure with the wrong number and/or
types of arguments
- Authors:
- James Strachan
- Version:
- \$Revision\$
Methods inherited from class RuntimeException
|
printStackTrace, printStackTrace, printStackTrace, fillInStackTrace, getCause, initCause, toString, getMessage, getLocalizedMessage, getStackTrace, setStackTrace, addSuppressed, getSuppressed, wait, wait, wait, equals, hashCode, getClass, notify, notifyAll |
IncorrectClosureArgumentsException
public IncorrectClosureArgumentsException(Closure closure, Object arguments, Class[] expected)
-
getArguments
public Object getArguments()
-
getClosure
public Closure getClosure()
-
getExpected
public Class[] getExpected()
-
Copyright © 2003-2013 The Codehaus. All rights reserved.