KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > spoon > reflect > code > CtThrow


1 package spoon.reflect.code;
2
3 import spoon.template.TemplateParameter;
4
5 /**
6  * This code element defines a <code>throw</code> statement.
7  */

8 public interface CtThrow extends CtCFlowBreak, TemplateParameter<Void JavaDoc> {
9
10     /**
11      * Returns the thrown expression (must be a throwable).
12      */

13     CtExpression<? extends Throwable JavaDoc> getThrownExpression();
14     /**
15      * Sets the thrown expression (must be a throwable).
16      */

17     void setThrownExpression(CtExpression<? extends Throwable JavaDoc> thrownExpression);
18
19 }
20
Popular Tags