| com.pnfsoftware.jeb.core.units.code.java.IJavaTry |
Java AST interface to represent try-catch elements.
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| abstract IJavaBlock |
getCatchBody(int index)
Get a catch body.
| ||||||||||
| abstract int |
getCatchCount()
Get the number of catch blocks.
| ||||||||||
| abstract IJavaIdentifier |
getCatchIdentifier(int index)
Get the named identifier associated with the caught exception of a catch block.
| ||||||||||
| abstract IJavaType |
getCatchType(int index)
Get the type of exception caught by a catch block.
| ||||||||||
| abstract IJavaBlock |
getFinallyBody()
Get the finally body, if any.
| ||||||||||
| abstract IJavaBlock |
getTryBody()
Get the try block.
| ||||||||||
|
[Expand]
Inherited Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From interface
com.pnfsoftware.jeb.core.units.code.java.ICompound
| |||||||||||
From interface
com.pnfsoftware.jeb.core.units.code.java.IJavaElement
| |||||||||||
Get a catch body.
| index | 0-based catch block index |
|---|
Get the number of catch blocks.
Get the named identifier associated with the caught exception of a catch block.
| index | 0-based catch block index |
|---|
Get the type of exception caught by a catch block.
| index | 0-based catch block index |
|---|
Get the finally body, if any.