public interface

IJavaThrow

implements IJavaTerminalStatement
com.pnfsoftware.jeb.core.units.code.java.IJavaThrow

Class Overview

Java AST interface to represent throw statements.

Example: throw new RuntimeException();

Summary

Public Methods
abstract IJavaExpression getExpression()
Get the thrown expression.
abstract void setExpression(IJavaExpression e)
Set the thrown expression.
[Expand]
Inherited Methods
From interface com.pnfsoftware.jeb.core.units.code.java.IJavaElement
From interface com.pnfsoftware.jeb.core.units.code.java.IJavaTerminalStatement

Public Methods

public abstract IJavaExpression getExpression ()

Get the thrown expression.

Returns
  • the thrown expression, non null

public abstract void setExpression (IJavaExpression e)

Set the thrown expression.

Parameters
e mandatory thrown expression