com.pnfsoftware.jeb.core.units.code.java.IJavaTry |
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
abstract void | addCatchBlock(IJavaType type, List<IJavaType> addTypes, IJavaIdentifier ident, IJavaDefinition def, IJavaBlock block) | ||||||||||
abstract void | addCatchBlock(int index, IJavaType type, List<IJavaType> addTypes, IJavaIdentifier ident, IJavaDefinition def, IJavaBlock block) | ||||||||||
abstract IJavaTry |
duplicate()
Duplicate this element.
| ||||||||||
abstract IJavaCatchBlock | getCatchBlock(int index) | ||||||||||
abstract IJavaBlock |
getCatchBody(int index)
Get a catch body.
| ||||||||||
abstract int | getCatchByType(String typestring) | ||||||||||
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 |
getFinallyBlock()
Get the finally block, if there is one.
| ||||||||||
abstract IJavaBlock |
getFinallyBody()
This method is deprecated.
use
getFinallyBlock()
| ||||||||||
abstract IJavaBlock |
getTryBody()
Get the try block.
| ||||||||||
abstract boolean | hasFinallyBlock() | ||||||||||
abstract IJavaCatchBlock | removeCatchBlock(int index) | ||||||||||
abstract void | setFinallyBlock(IJavaBlock blk) |
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
![]() | |||||||||||
![]() | |||||||||||
![]() | |||||||||||
![]() |
Duplicate this element.
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 block, if there is one.