Class CpsCallableInvocation

java.lang.Object
java.lang.Throwable
java.lang.Error
com.cloudbees.groovy.cps.impl.CpsCallableInvocation
All Implemented Interfaces:
Serializable

public class CpsCallableInvocation extends Error
When an CPS-interpreted method is invoked, it immediately throws this error to signal that the method execution needs to be interpreted.

The instance captures everything necessary to invoke a function, which is the definition of the function, object that the function is invoked on, and actual arguments to the function. When we invoke CPS-transformed closure or function, this throwable gets thrown.

Author:
Kohsuke Kawaguchi
See Also: