Package com.cloudbees.groovy.cps
Class CatchExpression
java.lang.Object
com.cloudbees.groovy.cps.CatchExpression
- All Implemented Interfaces:
Serializable
Catch block in a try/catch statement.
- Author:
- Kohsuke Kawaguchi
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionCatchExpression(Class<? extends Throwable> type, String name, Block handler) -
Method Summary
-
Field Details
-
type
Type of the exception to catch. -
name
Name of the variable that receives the exception. -
handler
Code that executes up on receiving an exception.
-
-
Constructor Details
-
CatchExpression
-