Package com.sun.codemodel
Class JThrow
- java.lang.Object
-
- com.sun.codemodel.JThrow
-
- All Implemented Interfaces:
JStatement
class JThrow extends java.lang.Object implements JStatement
JThrow statement
-
-
Field Summary
Fields Modifier and Type Field Description private JExpression
expr
JExpression to throw
-
Constructor Summary
Constructors Constructor Description JThrow(JExpression expr)
JThrow constructor
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
state(JFormatter f)
-
-
-
Field Detail
-
expr
private JExpression expr
JExpression to throw
-
-
Constructor Detail
-
JThrow
JThrow(JExpression expr)
JThrow constructor- Parameters:
expr
- JExpression which evaluates to JThrow value
-
-
Method Detail
-
state
public void state(JFormatter f)
- Specified by:
state
in interfaceJStatement
-
-