| 
|||||||||
| PREV CLASS NEXT CLASS | 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
public class IncorrectClosureArgumentsException
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 groovy.lang.GroovyRuntimeException | 
|---|
getLocationText, getMessage, getMessageWithoutLocationText, getModule, getNode, setModule | 
| Methods inherited from class java.lang.Throwable | 
|---|
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString | 
| Methods inherited from class java.lang.Object | 
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public IncorrectClosureArgumentsException(Closure closure,
                                          Object arguments,
                                          Class[] expected)
| Method Detail | 
|---|
public Object getArguments()
public Closure getClosure()
public Class[] getExpected()
  | 
Copyright © 2003-2012 The Codehaus. All rights reserved. | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||