|
Groovy 1.7.0 | |||||||
FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
groovy.lang.GroovyRuntimeException
groovy.lang.IncorrectClosureArgumentsException
class IncorrectClosureArgumentsException extends GroovyRuntimeException
An exception occurred when invoking a Closure with the wrong number and/or types of arguments
Constructor Summary | |
IncorrectClosureArgumentsException(Closure closure, Object arguments, Class[] expected)
|
Method Summary | |
---|---|
Object
|
getArguments()
|
Closure
|
getClosure()
|
Class[]
|
getExpected()
|
Methods inherited from class GroovyRuntimeException | |
---|---|
getLocationText, getMessage, getMessageWithoutLocationText, getModule, getNode, setModule |
Methods inherited from class RuntimeException | |
---|---|
printStackTrace, printStackTrace, printStackTrace, fillInStackTrace, getCause, initCause, toString, getMessage, getLocalizedMessage, getStackTrace, setStackTrace, wait, wait, wait, hashCode, getClass, equals, notify, notifyAll |
Methods inherited from class Exception | |
---|---|
printStackTrace, printStackTrace, printStackTrace, fillInStackTrace, getCause, initCause, toString, getMessage, getLocalizedMessage, getStackTrace, setStackTrace, wait, wait, wait, hashCode, getClass, equals, notify, notifyAll |
Methods inherited from class Throwable | |
---|---|
printStackTrace, printStackTrace, printStackTrace, fillInStackTrace, getCause, initCause, toString, getMessage, getLocalizedMessage, getStackTrace, setStackTrace, wait, wait, wait, hashCode, getClass, equals, notify, notifyAll |
Methods inherited from class Object | |
---|---|
wait, wait, wait, hashCode, getClass, equals, toString, notify, notifyAll |
Constructor Detail |
---|
public IncorrectClosureArgumentsException(Closure closure, Object arguments, Class[] expected)
Method Detail |
---|
public Object getArguments()
public Closure getClosure()
public Class[] getExpected()
Copyright © 2003-2009 The Codehaus. All rights reserved.